# HG changeset patch # User Matt Mackall # Date 1198821339 21600 # Node ID 45e788bd92160f3a491e2df8e8420215de9a517f # Parent f6fa7ae0ffff1f5aa151280767f4a1cf860653d1 bisect: fold in two trivial functions diff -r f6fa7ae0ffff -r 45e788bd9216 hgext/hbisect.py --- a/hgext/hbisect.py Thu Dec 27 23:55:39 2007 -0600 +++ b/hgext/hbisect.py Thu Dec 27 23:55:39 2007 -0600 @@ -181,25 +181,19 @@ if rev is not None: return hg.clean(self.repo, rev) - def good(self, rev): - self.goodrevs.append(rev) - def autogood(self, rev=None): """mark revision as good and update to the next revision to test""" check_clean(self.ui, self.repo) rev = lookup_rev(self.ui, self.repo, rev) - self.good(rev) + self.goodrevs.append(rev) if self.badrev: return self.autonext() - def bad(self, rev): - self.badrev = rev - def autobad(self, rev=None): """mark revision as bad and update to the next revision to test""" check_clean(self.ui, self.repo) rev = lookup_rev(self.ui, self.repo, rev) - self.bad(rev) + self.badrev = rev if self.goodrevs: self.autonext()