This is an archive of the discontinued Mercurial Phabricator instance.

setdiscovery: use a revset for finding DAG heads in a subset
ClosedPublic

Authored by indygreg on Aug 17 2018, 5:30 PM.

Details

Summary

The march towards moving away from dagutil continues.

Like other patches moving us away from dagutil, there is the
potential for regressions to occur because revlogdag's
headsetofconnecteds() uses revlog.index, which doesn't take
filtering into account. The revset layer does. But no tests
fail, so we appear to be in the clear.

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

indygreg created this revision.Aug 17 2018, 5:30 PM
This revision was automatically updated to reflect the committed changes.