changeset 4778: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	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:]