# HG changeset patch # User Pierre-Yves David # Date 1626666092 -7200 # Node ID 20c2a15cd47a60045d2b74041d673b25d2a25b95 # Parent 936f26b9f1ccde73b84b625458613883e3388bb8 fix: use `set_possibly_dirty` instead of `normallookup` This is the newer, more semantic API. Differential Revision: https://phab.mercurial-scm.org/D11177 diff -r 936f26b9f1cc -r 20c2a15cd47a hgext/fix.py --- a/hgext/fix.py Mon Jul 19 05:41:02 2021 +0200 +++ b/hgext/fix.py Mon Jul 19 05:41:32 2021 +0200 @@ -757,7 +757,7 @@ fctx = ctx[path] fctx.write(data, fctx.flags()) if repo.dirstate[path] == b'n': - repo.dirstate.normallookup(path) + repo.dirstate.set_possibly_dirty(path) oldparentnodes = repo.dirstate.parents() newparentnodes = [replacements.get(n, n) for n in oldparentnodes]