patch.extract: fix test-import breakage introduced in the previous changeset
authorBrendan Cully <brendan@kublai.com>
Mon, 02 Jul 2007 13:26:12 -0700
changeset 4778 e321f16f4eac
parent 4777 5ee5cbfceff3
child 4779 a7915f79d4cc
child 4780 169fe1e6104c
patch.extract: fix test-import breakage introduced in the previous changeset
mercurial/patch.py
--- a/mercurial/patch.py	Mon Jul 02 10:59:16 2007 -0700
+++ b/mercurial/patch.py	Mon Jul 02 13:26:12 2007 -0700
@@ -91,6 +91,7 @@
                         # drop earlier commit message content
                         cfp.seek(0)
                         cfp.truncate()
+                        subject = None
                     elif hgpatch:
                         if line.startswith('# User '):
                             user = line[7:]