[Commented On] D11169: mergestate: use `update_file` to handle `for ACTION_EXEC`
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Mon Jul 19 20:03:57 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 29514.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11169?vs=29447&id=29514
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11169/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11169
AFFECTED FILES
mercurial/mergestate.py
CHANGE DETAILS
diff --git a/mercurial/mergestate.py b/mercurial/mergestate.py
--- a/mercurial/mergestate.py
+++ b/mercurial/mergestate.py
@@ -776,7 +776,9 @@
# exec change
for f, args, msg in actions.get(ACTION_EXEC, []):
- repo.dirstate.normallookup(f)
+ repo.dirstate.update_file(
+ f, p1_tracked=True, wc_tracked=True, possibly_dirty=True
+ )
# keep
for f, args, msg in actions.get(ACTION_KEEP, []):
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210719/d2e6b01e/attachment-0002.html>
More information about the Mercurial-patches
mailing list