This is an archive of the discontinued Mercurial Phabricator instance.

revset: make commonancestors(x + x^) be ::(x^), not ::x
ClosedPublic

Authored by valentin.gatienbaron on Sep 25 2018, 5:18 PM.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuja added a subscriber: yuja.Sep 26 2018, 7:32 AM

Queued the series for stable, many thanks.

  • # only wants the heads of the set passed in
  • h = heads(repo, fullreposet(repo), x, anyorder)
  • if not h:

+ startrevs = getset(repo, fullreposet(repo), x)

I've resurrected the anyorder flag though that wouldn't matter much in
practice.

This revision was automatically updated to reflect the committed changes.