Mercurial > hg-stable
changeset 10131:ef5b537433da
patch: drop unused hunk.newctrl()
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 23 Dec 2009 19:31:48 +0100 |
parents | 7936cd261dc9 |
children | 8cb482a0d39e |
files | mercurial/patch.py |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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)