Page MenuHomePhabricator

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

Authored by SimonSapin on Tue, Sep 14, 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.