rust/hg-cpython/src/dirstate/dirstate_map.rs
changeset 49122 861dd252e2dc
parent 49121 10edc54d18f1
child 49124 d9a66d62c604
--- a/rust/hg-cpython/src/dirstate/dirstate_map.rs	Tue Mar 29 00:57:06 2022 +0200
+++ b/rust/hg-cpython/src/dirstate/dirstate_map.rs	Tue Mar 29 00:58:58 2022 +0200
@@ -205,17 +205,6 @@
         Ok(PyNone)
     }
 
-    def drop_item_and_copy_source(
-        &self,
-        f: PyBytes,
-    ) -> PyResult<PyNone> {
-        self.inner(py)
-            .borrow_mut()
-            .drop_entry_and_copy_source(HgPath::new(f.data(py)))
-            .map_err(|e |dirstate_error(py, e))?;
-        Ok(PyNone)
-    }
-
     def hastrackeddir(&self, d: PyObject) -> PyResult<PyBool> {
         let d = d.extract::<PyBytes>(py)?;
         Ok(self.inner(py).borrow_mut()