Show More
@@ -517,7 +517,7 b' impl MixedIndex {' | |||||
517 | py: Python, |
|
517 | py: Python, | |
518 | nt: &mut NodeTree, |
|
518 | nt: &mut NodeTree, | |
519 | ) -> PyResult<PyObject> { |
|
519 | ) -> PyResult<PyObject> { | |
520 |
let index = self. |
|
520 | let index = self.index(py).borrow(); | |
521 | for r in 0..self.len(py)? { |
|
521 | for r in 0..self.len(py)? { | |
522 | let rev = Revision(r as BaseRevision); |
|
522 | let rev = Revision(r as BaseRevision); | |
523 | // in this case node() won't ever return None |
|
523 | // in this case node() won't ever return None | |
@@ -623,7 +623,7 b' impl MixedIndex {' | |||||
623 | .extract::<BaseRevision>(py)? |
|
623 | .extract::<BaseRevision>(py)? | |
624 | .into(); |
|
624 | .into(); | |
625 | self.docket(py).borrow_mut().replace(docket.clone_ref(py)); |
|
625 | self.docket(py).borrow_mut().replace(docket.clone_ref(py)); | |
626 |
let idx = self. |
|
626 | let idx = self.index(py).borrow(); | |
627 | let data_tip = idx.check_revision(data_tip).ok_or_else(|| { |
|
627 | let data_tip = idx.check_revision(data_tip).ok_or_else(|| { | |
628 | nodemap_error(py, NodeMapError::RevisionNotInIndex(data_tip)) |
|
628 | nodemap_error(py, NodeMapError::RevisionNotInIndex(data_tip)) | |
629 | })?; |
|
629 | })?; |
General Comments 0
You need to be logged in to leave comments.
Login now