This is an archive of the discontinued Mercurial Phabricator instance.

revlog: change _addrevision to return the new revision
ClosedPublic

Authored by joerg.sonnenberger on Jan 26 2021, 9:10 PM.

Details

Summary

The node is passed as argument already, so returning it is quite
pointless. The revision number on the other is useful as it decouples
the caller from the revlog internals.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage