rust-dirstatemap: remove unused `_refresh_entry` implementation
This was only used in the newer APIs, all of which have been rewritten in Rust
Differential Revision: https://phab.mercurial-scm.org/D12511
--- a/mercurial/dirstatemap.py Wed Mar 23 17:19:32 2022 +0100
+++ b/mercurial/dirstatemap.py Mon Mar 28 18:30:08 2022 +0200
@@ -701,12 +701,6 @@
### code related to manipulation of entries and copy-sources
- def _refresh_entry(self, f, entry):
- if not entry.any_tracked:
- self._map.drop_item_and_copy_source(f)
- else:
- self._map.addfile(f, entry)
-
def set_tracked(self, f):
return self._map.set_tracked(f)