diff --git a/rust/hg-cpython/src/revlog.rs b/rust/hg-cpython/src/revlog.rs index 002b49905aac371c6e770c0289f6d088357c8c10_cnVzdC9oZy1jcHl0aG9uL3NyYy9yZXZsb2cucnM=..952e3cd7568f503425fd343cce04a84b6d09c801_cnVzdC9oZy1jcHl0aG9uL3NyYy9yZXZsb2cucnM= 100644 --- a/rust/hg-cpython/src/revlog.rs +++ b/rust/hg-cpython/src/revlog.rs @@ -517,7 +517,7 @@ py: Python, nt: &mut NodeTree, ) -> PyResult<PyObject> { - 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::<BaseRevision>(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)) })?;