( )⚙ D11414 rust: Make private the `index` field of the `Revlog` struct

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