diff -r 002b49905aac -r 952e3cd7568f rust/hg-cpython/src/revlog.rs --- a/rust/hg-cpython/src/revlog.rs Thu Nov 02 11:19:54 2023 +0100 +++ b/rust/hg-cpython/src/revlog.rs Mon Oct 30 11:03:57 2023 +0100 @@ -517,7 +517,7 @@ py: Python, nt: &mut NodeTree, ) -> PyResult { - let index = self.cindex(py).borrow(); + let index = self.index(py).borrow(); for r in 0..self.len(py)? { let rev = Revision(r as BaseRevision); // in this case node() won't ever return None @@ -623,7 +623,7 @@ .extract::(py)? .into(); self.docket(py).borrow_mut().replace(docket.clone_ref(py)); - let idx = self.cindex(py).borrow(); + let idx = self.index(py).borrow(); let data_tip = idx.check_revision(data_tip).ok_or_else(|| { nodemap_error(py, NodeMapError::RevisionNotInIndex(data_tip)) })?;