This is an archive of the discontinued Mercurial Phabricator instance.

dagop: extract DAG local heads functionality from revlog
ClosedPublic

Authored by indygreg on Sep 28 2018, 8:18 PM.

Details

Summary

As part of implementing an alternate storage backend, I found myself
having to reimplement this function.

The DAG traversal logic is generic and can be factored out into a
standalone function.

We could probably combine this with headrevs(). But I'll leave that
for another time.

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.Sep 28 2018, 8:18 PM
This revision was automatically updated to reflect the committed changes.