hbisect: use a revset for ancestor calculation

Authored by dsp.

Description

hbisect: use a revset for ancestor calculation

Since we have revsets we can be more concise in doing the ancestor calulcation.
Significant commits are all descendent of the topmost good commits.

Test Plan:

python run-tests.py test-bisect*

Differential Revision: https://phab.mercurial-scm.org/D1498

Details

Committed
dspNov 23 2017, 5:12 PM
Differential Revision
D1498: hbisect: use a revset for ancestor calculation
Parents
rHGfd8b6b183073: hbisect: pass repo into hbisect.bisect
Branches
Unknown
Tags
Unknown