# HG changeset patch # User Pierre-Yves David # Date 1350315760 -7200 # Node ID ac5c9c8046f72883b7532ed06571b85624b284be # Parent 73e1ab39792c6c1887bcf594114ad0b9d01bfc2e clfilter: use changelog to iterate over the repo in branchpoint Otherwise filtered changesets may cause false positives in `branchpoint()`. diff -r 73e1ab39792c -r ac5c9c8046f7 mercurial/revset.py --- a/mercurial/revset.py Fri Oct 12 10:52:33 2012 +0200 +++ b/mercurial/revset.py Mon Oct 15 17:42:40 2012 +0200 @@ -929,7 +929,7 @@ return [] baserev = min(subset) parentscount = [0]*(len(repo) - baserev) - for r in xrange(baserev + 1, len(repo)): + for r in cl.revs(start=baserev + 1): for p in cl.parentrevs(r): if p >= baserev: parentscount[p - baserev] += 1