( )⚙ D11415 rust: Rename the `Revlog::get_node_rev` method to `rev_from_node`

This is an archive of the discontinued Mercurial Phabricator instance.

rust: Rename the `Revlog::get_node_rev` method to `rev_from_node`
ClosedPublic

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

Details

Summary

This better describes the input and outputs of this method.

Also rewrite the doc-comment, which seemed to have been left from copy-paste
of another method.

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.