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