( )⚙ D10289 setdiscovery: simplify by using tiprev directly

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.