rust/hg-core/src/revlog/revlog.rs
changeset 47968 6f579618ea7b
parent 47967 6c653d9d41b8
child 47969 87e3f878e65f
--- a/rust/hg-core/src/revlog/revlog.rs	Tue Sep 14 18:07:11 2021 +0200
+++ b/rust/hg-core/src/revlog/revlog.rs	Tue Sep 14 18:10:35 2021 +0200
@@ -124,9 +124,9 @@
         Some(self.index.get_entry(rev)?.hash())
     }
 
-    /// Return the full data associated to a node.
+    /// Return the revision number for the given node ID, if it exists in this revlog
     #[timed]
-    pub fn get_node_rev(
+    pub fn rev_from_node(
         &self,
         node: NodePrefix,
     ) -> Result<Revision, RevlogError> {