Mercurial > hg
changeset 49113:2e63040a333b
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
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 28 Mar 2022 18:30:08 +0200 |
parents | a55934393078 |
children | d27d25b7b4ce |
files | mercurial/dirstatemap.py |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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)