# HG changeset patch # User Pierre-Yves David # Date 1625711190 -7200 # Node ID 4dca29b00405b2b8677cfc50d6a02865cebb29dd # Parent f636dfe83554c18b20ec8fe494f15217a1c78aba mq: use `set_untracked` in `qrename` This is the new shiny API. Differential Revision: https://phab.mercurial-scm.org/D11021 diff -r f636dfe83554 -r 4dca29b00405 hgext/mq.py --- a/hgext/mq.py Thu Jul 08 01:06:46 2021 +0200 +++ b/hgext/mq.py Thu Jul 08 04:26:30 2021 +0200 @@ -3640,7 +3640,7 @@ wctx = r[None] with r.wlock(): if r.dirstate[patch] == b'a': - r.dirstate.drop(patch) + r.dirstate.set_untracked(patch) r.dirstate.set_tracked(name) else: wctx.copy(patch, name)