##// END OF EJS Templates
patch: drop unused hunk.newctrl()
Patrick Mezard -
r10131:ef5b5374 default
parent child Browse files
Show More
@@ -715,14 +715,6 b' class hunk(object):'
715 def old(self, fuzz=0, toponly=False):
715 def old(self, fuzz=0, toponly=False):
716 return self.fuzzit(self.a, fuzz, toponly)
716 return self.fuzzit(self.a, fuzz, toponly)
717
717
718 def newctrl(self):
719 res = []
720 for x in self.hunk:
721 c = x[0]
722 if c == ' ' or c == '+':
723 res.append(x)
724 return res
725
726 def new(self, fuzz=0, toponly=False):
718 def new(self, fuzz=0, toponly=False):
727 return self.fuzzit(self.b, fuzz, toponly)
719 return self.fuzzit(self.b, fuzz, toponly)
728
720
General Comments 0
You need to be logged in to leave comments. Login now