# HG changeset patch # User Pierre-Yves David # Date 1626641402 -7200 # 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 -r dc610e325302 -r 4b7eb01db10b hgext/mq.py --- 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)