diff mercurial/patch.py @ 7247:c4461ea8b4c8

patch: fix patched files records in externalpatcher()
author Patrick Mezard <pmezard@gmail.com>
date Sun, 26 Oct 2008 17:26:28 +0100
parents 127a624406b4
children 6a51ca1e05c3
line wrap: on
line diff
--- a/mercurial/patch.py	Sun Oct 26 14:02:32 2008 +0100
+++ b/mercurial/patch.py	Sun Oct 26 17:26:28 2008 +0100
@@ -1060,7 +1060,7 @@
         if line.startswith('patching file '):
             pf = util.parse_patch_output(line)
             printed_file = False
-            files.setdefault(pf, (None, None))
+            files.setdefault(pf, None)
         elif line.find('with fuzz') >= 0:
             fuzz = True
             if not printed_file: