Mercurial > public > mercurial-scm > hg
diff contrib/hbisect.py @ 1856:b8bd84ad9b67
Make bisect extension work with python2.3
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 08 Mar 2006 05:31:20 +0100 |
parents | 0ba9dee8cfbd |
children | 65949d1c9bf7 |
line wrap: on
line diff
--- a/contrib/hbisect.py Wed Mar 08 05:16:36 2006 +0100 +++ b/contrib/hbisect.py Wed Mar 08 05:31:20 2006 +0100 @@ -113,7 +113,8 @@ cl = self.repo.changelog if not stop: stop = sets.Set([]) - for g in reversed(self.goodrevs): + for i in xrange(len(self.goodrevs)-1, -1, -1): + g = self.goodrevs[i] if g in stop: continue stop.update(cl.reachable(g))