##// END OF EJS Templates
fix: use `set_possibly_dirty` instead of `normallookup`...
marmoute -
r48535:20c2a15c default
parent child Browse files
Show More
@@ -757,7 +757,7 b' def writeworkingdir(repo, ctx, filedata,'
757 fctx = ctx[path]
757 fctx = ctx[path]
758 fctx.write(data, fctx.flags())
758 fctx.write(data, fctx.flags())
759 if repo.dirstate[path] == b'n':
759 if repo.dirstate[path] == b'n':
760 repo.dirstate.normallookup(path)
760 repo.dirstate.set_possibly_dirty(path)
761
761
762 oldparentnodes = repo.dirstate.parents()
762 oldparentnodes = repo.dirstate.parents()
763 newparentnodes = [replacements.get(n, n) for n in oldparentnodes]
763 newparentnodes = [replacements.get(n, n) for n in oldparentnodes]
General Comments 0
You need to be logged in to leave comments. Login now