( )⚙ D4662 hgweb: use heads() instead of headrevs()

This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: use heads() instead of headrevs()
ClosedPublic

Authored by indygreg on Sep 18 2018, 10:34 PM.

Details

Summary

These appear to be the only callers of headrevs() on file storage
objects. Let's port to heads() so we can remove headrevs().

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