[Commented On] D12469: dirstatemap: move `_refresh_entry` out of the common methods
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Apr 12 14:58:45 UTC 2022
baymax added a comment.
baymax updated this revision to Diff 33043.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D12469?vs=32941&id=33043
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D12469/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D12469
AFFECTED FILES
mercurial/dirstatemap.py
CHANGE DETAILS
diff --git a/mercurial/dirstatemap.py b/mercurial/dirstatemap.py
--- a/mercurial/dirstatemap.py
+++ b/mercurial/dirstatemap.py
@@ -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)
To: Alphare, #hg-reviewers, marmoute
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220412/e89da2b0/attachment-0002.html>
More information about the Mercurial-patches
mailing list