equal
deleted
inserted
replaced
871 fn inner_headrevsfiltered( |
871 fn inner_headrevsfiltered( |
872 &self, |
872 &self, |
873 py: Python, |
873 py: Python, |
874 filtered_revs: &PyObject, |
874 filtered_revs: &PyObject, |
875 ) -> PyResult<PyObject> { |
875 ) -> PyResult<PyObject> { |
876 let index = &mut *self.index(py).borrow_mut(); |
876 let index = &*self.index(py).borrow(); |
877 let filtered_revs = rev_pyiter_collect(py, filtered_revs, index)?; |
877 let filtered_revs = rev_pyiter_collect(py, filtered_revs, index)?; |
878 |
878 |
879 if let Some(new_heads) = index |
879 if let Some(new_heads) = index |
880 .head_revs_filtered(&filtered_revs, true) |
880 .head_revs_filtered(&filtered_revs, true) |
881 .map_err(|e| graph_error(py, e))? |
881 .map_err(|e| graph_error(py, e))? |