diff -r 0c2f0048125d -r b35e3364f94a mercurial/patch.py --- a/mercurial/patch.py Sun Dec 09 23:33:16 2012 +0100 +++ b/mercurial/patch.py Sun Dec 09 23:33:16 2012 +0100 @@ -1007,7 +1007,7 @@ bot = min(fuzz, bot) top = min(fuzz, top) - return old[top:len(old)-bot], new[top:len(new)-bot], top + return old[top:len(old) - bot], new[top:len(new) - bot], top return old, new, 0 def fuzzit(self, fuzz, toponly):