This is an archive of the discontinued Mercurial Phabricator instance.

rust: Make private the `index` field of the `Revlog` struct
ClosedPublic

Authored by SimonSapin on Sep 14 2021, 12:45 PM.

Details

Summary

To replace the previous use of this field from another module, add a
node_from_rev method. This is the same method that already existed on
Changelog.

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.