changeset 4771:e321f16f4eac

patch.extract: fix test-import breakage introduced in the previous changeset
author Brendan Cully <brendan@kublai.com>
date Mon, 02 Jul 2007 13:26:12 -0700
parents 5ee5cbfceff3
children a7915f79d4cc 169fe1e6104c
files mercurial/patch.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -91,6 +91,7 @@ def extract(ui, fileobj):
                         # drop earlier commit message content
                         cfp.seek(0)
                         cfp.truncate()
+                        subject = None
                     elif hgpatch:
                         if line.startswith('# User '):
                             user = line[7:]