hgext/histedit.py
changeset 35400 8a0cac20a1ad
parent 35126 a9cc233de513
child 35414 a51541681b8d
--- a/hgext/histedit.py	Sat Dec 09 14:22:12 2017 -0800
+++ b/hgext/histedit.py	Mon Dec 11 09:27:40 2017 -0800
@@ -602,7 +602,7 @@
         if path in headmf:
             fctx = last[path]
             flags = fctx.flags()
-            mctx = context.memfilectx(repo,
+            mctx = context.memfilectx(repo, ctx,
                                       fctx.path(), fctx.data(),
                                       islink='l' in flags,
                                       isexec='x' in flags,