( )⚙ D12176 revlog: do not compute node location by hand in index_invalidate_added

This is an archive of the discontinued Mercurial Phabricator instance.

revlog: do not compute node location by hand in index_invalidate_added
ClosedPublic

Authored by pacien on Feb 14 2022, 1:06 PM.

Details

Summary

The node is not guaranteed to be at the same location all the time (e.g:
changelog v2), so let's use the official existing API to get that value.

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.