rust/hg-cpython/src/dirstate/dirstate_map.rs
changeset 48050 2ac0e6b23222
parent 48048 76f1c76186a1
child 48051 98c0408324e6
--- a/rust/hg-cpython/src/dirstate/dirstate_map.rs	Thu Sep 23 15:29:38 2021 +0200
+++ b/rust/hg-cpython/src/dirstate/dirstate_map.rs	Thu Sep 23 15:36:43 2021 +0200
@@ -210,13 +210,13 @@
         Ok(py.None())
     }
 
-    def dropfile(
+    def drop_item_and_copy_source(
         &self,
         f: PyBytes,
     ) -> PyResult<PyNone> {
         self.inner(py)
             .borrow_mut()
-            .drop_file(HgPath::new(f.data(py)))
+            .drop_entry_and_copy_source(HgPath::new(f.data(py)))
             .map_err(|e |dirstate_error(py, e))?;
         Ok(PyNone)
     }