hgext/fix.py
changeset 47735 20c2a15cd47a
parent 46839 eb2a6f66c463
child 47766 3feda1e779d4
child 47794 82c87566bfc0
--- 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]