fix: use `set_possibly_dirty` instead of `normallookup`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11177
--- 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]