stablesort: fix head start computation
The recursion was wrong and provided wrong result.
As a side effect, this seems to hint that `stablesort_mergepoint_bounded` is not
giving the right result for complex set.
--- a/hgext3rd/evolve/stablesort.py Mon Dec 18 08:36:52 2017 +0100
+++ b/hgext3rd/evolve/stablesort.py Mon Dec 18 18:49:34 2017 +0100
@@ -289,8 +289,7 @@
mid = stablesort_mergepoint_bounded(repo, ps[1], mid_revs)
# And follow up with part othe parent we can inherit from
- bottom_revs = cl.ancestors([ps[0]], inclusive=True)
- bottom = stablesort_mergepoint_bounded(repo, ps[0], bottom_revs)
+ bottom = stablesort_mergepoint_head(repo, ps[0])
return bottom + mid + top