# HG changeset patch # User Pierre-Yves David # Date 2021-07-18 20:50:02 # Node ID 4b7eb01db10bd2f0f04f6911169f18dc9054fd72 # Parent dc610e325302a80a1db74a4f7d111b0e3ee65d32 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 diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -2051,7 +2051,7 @@ class queue(object): 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)