D11175: mq: replace `normallookup` call with newer API
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon Jul 19 14:11:10 UTC 2021
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This align MQ behavior with what what `scmutil.movedirstate` does. (it should
probably use `scmutil.movedirstate` itself.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D11175
AFFECTED FILES
hgext/mq.py
CHANGE DETAILS
diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -2051,7 +2051,7 @@
for f in m:
repo.dirstate.update_file_p1(f, p1_tracked=True)
for f in mm:
- repo.dirstate.normallookup(f)
+ repo.dirstate.update_file_p1(f, p1_tracked=True)
for f in forget:
repo.dirstate.drop(f)
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list