This is an archive of the discontinued Mercurial Phabricator instance.

setdiscovery: simplify by using tiprev directly
ClosedPublic

Authored by joerg.sonnenberger on Mar 29 2021, 8:16 PM.

Details

Summary

tip() uses tiprev() and reads the node from it, so drop a layer of
indirection.

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

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.