Mercurial > hg
changeset 47733:4b7eb01db10b
mq: replace `normallookup` call with newer API
This align MQ behavior with what what `scmutil.movedirstate` does. (it should
probably use `scmutil.movedirstate` itself.
Differential Revision: https://phab.mercurial-scm.org/D11175
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 18 Jul 2021 22:50:02 +0200 |
parents | dc610e325302 |
children | 936f26b9f1cc |
files | hgext/mq.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Mon Jul 19 03:52:54 2021 +0200 +++ b/hgext/mq.py Sun Jul 18 22:50:02 2021 +0200 @@ -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)