Submitter | phabricator |
---|---|
Date | April 12, 2022, 4:04 p.m. |
Message ID | <differential-rev-PHID-DREV-a7ucvazrlohpcbrejamu-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50867/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/rust/hg-cpython/src/dirstate/dirstate_map.rs b/rust/hg-cpython/src/dirstate/dirstate_map.rs --- a/rust/hg-cpython/src/dirstate/dirstate_map.rs +++ b/rust/hg-cpython/src/dirstate/dirstate_map.rs @@ -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()