mercurial/patch.py
changeset 18054 b35e3364f94a
parent 17968 a9f4a6076740
child 18143 242d2f4ec01c
equal deleted inserted replaced
18053:0c2f0048125d 18054:b35e3364f94a
  1005                     else:
  1005                     else:
  1006                         break
  1006                         break
  1007 
  1007 
  1008             bot = min(fuzz, bot)
  1008             bot = min(fuzz, bot)
  1009             top = min(fuzz, top)
  1009             top = min(fuzz, top)
  1010             return old[top:len(old)-bot], new[top:len(new)-bot], top
  1010             return old[top:len(old) - bot], new[top:len(new) - bot], top
  1011         return old, new, 0
  1011         return old, new, 0
  1012 
  1012 
  1013     def fuzzit(self, fuzz, toponly):
  1013     def fuzzit(self, fuzz, toponly):
  1014         old, new, top = self._fuzzit(self.a, self.b, fuzz, toponly)
  1014         old, new, top = self._fuzzit(self.a, self.b, fuzz, toponly)
  1015         oldstart = self.starta + top
  1015         oldstart = self.starta + top