Mercurial > hg
changeset 49117:4c562108384f
dirstatemap: move `_refresh_entry` out of the common methods
This is only used in the Python implementation now
Differential Revision: https://phab.mercurial-scm.org/D12515
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 28 Mar 2022 23:39:28 +0200 |
parents | cebb263c865c |
children | 2c78dd3f11de |
files | mercurial/dirstatemap.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/dirstatemap.py Mon Mar 28 23:38:05 2022 +0200 +++ b/mercurial/dirstatemap.py Mon Mar 28 23:39:28 2022 +0200 @@ -98,9 +98,6 @@ tracking in a different way. """ - def _refresh_entry(self, f, entry): - """record updated state of an entry""" - ### disk interaction def _opendirstatefile(self): @@ -523,6 +520,7 @@ self._refresh_entry(filename, entry) def _refresh_entry(self, f, entry): + """record updated state of an entry""" if not entry.any_tracked: self._map.pop(f, None)