[Commented On] D11121: dirstatemap: use `set_possibly_dirty` in `clearambiguoustimes`
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Jul 20 07:21:25 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 29540.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11121?vs=29387&id=29540
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11121/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11121
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
@@ -261,9 +261,7 @@
for f in files:
e = self.get(f)
if e is not None and e.need_delay(now):
- self._map[f] = DirstateItem(
- e.state, e.mode, e.size, AMBIGUOUS_TIME
- )
+ e.set_possibly_dirty()
self.nonnormalset.add(f)
def nonnormalentries(self):
To: marmoute, #hg-reviewers, Alphare, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210720/a5cc0041/attachment-0002.html>
More information about the Mercurial-patches
mailing list