rust/hg-core/src/revlog/changelog.rs
changeset 47967 6c653d9d41b8
parent 47964 796206e74b10
child 47968 6f579618ea7b
--- a/rust/hg-core/src/revlog/changelog.rs	Mon Jul 26 10:26:45 2021 +0200
+++ b/rust/hg-core/src/revlog/changelog.rs	Tue Sep 14 18:07:11 2021 +0200
@@ -36,7 +36,7 @@
     }
 
     pub fn node_from_rev(&self, rev: Revision) -> Option<&Node> {
-        Some(self.revlog.index.get_entry(rev)?.hash())
+        self.revlog.node_from_rev(rev)
     }
 }