# HG changeset patch # User Patrick Mezard # Date 1261593108 -3600 # Node ID ef5b537433da0165fa6e194b1498dcefe330ff1a # Parent 7936cd261dc9255bd7021b360b09c773344d17a6 patch: drop unused hunk.newctrl() diff -r 7936cd261dc9 -r ef5b537433da 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)