changeset 14893 | 01e0091679c0 |
parent 14215 | e5a59d31bb04 |
child 14894 | 3db92e3948d5 |
--- a/mercurial/hbisect.py Mon Jul 18 14:57:22 2011 -0500 +++ b/mercurial/hbisect.py Sat Jul 16 12:22:40 2011 +0200 @@ -45,7 +45,7 @@ # clear good revs from array for node in goodrevs: ancestors[node] = None - for rev in xrange(len(changelog), -1, -1): + for rev in xrange(len(changelog), goodrev, -1): if ancestors[rev] is None: for prev in clparents(rev): ancestors[prev] = None