patch: drop unused hunk.newctrl()
authorPatrick Mezard <pmezard@gmail.com>
Wed, 23 Dec 2009 19:31:48 +0100
changeset 10131 ef5b537433da
parent 10130 7936cd261dc9
child 10133 8cb482a0d39e
patch: drop unused hunk.newctrl()
mercurial/patch.py
--- a/mercurial/patch.py	Wed Dec 23 19:31:48 2009 +0100
+++ b/mercurial/patch.py	Wed Dec 23 19:31:48 2009 +0100
@@ -715,14 +715,6 @@
     def old(self, fuzz=0, toponly=False):
         return self.fuzzit(self.a, fuzz, toponly)
 
-    def newctrl(self):
-        res = []
-        for x in self.hunk:
-            c = x[0]
-            if c == ' ' or c == '+':
-                res.append(x)
-        return res
-
     def new(self, fuzz=0, toponly=False):
         return self.fuzzit(self.b, fuzz, toponly)