--- a/mercurial/commands.py Sat Aug 06 21:19:32 2005 +0100 +++ b/mercurial/commands.py Sat Aug 06 21:23:38 2005 +0100 @@ -740,6 +740,7 @@ hgpatch = False elif line == '# HG changeset patch': hgpatch = True + message = [] # We may have collected garbage else: message.append(line)