Mercurial > hg
comparison mercurial/dirstatemap.py @ 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 | 953b08a2d983 |
children | d27d25b7b4ce |
comparison
equal
deleted
inserted
replaced
49112:a55934393078 | 49113:2e63040a333b |
---|---|
699 f[normcase(name)] = name | 699 f[normcase(name)] = name |
700 return f | 700 return f |
701 | 701 |
702 ### code related to manipulation of entries and copy-sources | 702 ### code related to manipulation of entries and copy-sources |
703 | 703 |
704 def _refresh_entry(self, f, entry): | |
705 if not entry.any_tracked: | |
706 self._map.drop_item_and_copy_source(f) | |
707 else: | |
708 self._map.addfile(f, entry) | |
709 | |
710 def set_tracked(self, f): | 704 def set_tracked(self, f): |
711 return self._map.set_tracked(f) | 705 return self._map.set_tracked(f) |
712 | 706 |
713 def set_untracked(self, f): | 707 def set_untracked(self, f): |
714 return self._map.set_untracked(f) | 708 return self._map.set_untracked(f) |