Mercurial > hg
changeset 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 | 97f07d311a50 |
files | contrib/hbisect.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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))