This is an archive of the discontinued Mercurial Phabricator instance.

debugcommands: use a revset instead of dagutil
ClosedPublic

Authored by indygreg on Aug 16 2018, 4:43 PM.

Details

Summary

All this code was doing was finding the nodes that are heads
from the ancestors of an input set. This can easily be expressed
with a revset without having to go through dagutil.

This was the last use of ancestorset() outside of dagutil itself.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Aug 16 2018, 4:43 PM
This revision was automatically updated to reflect the committed changes.