hgext/uncommit.py
changeset 35400 8a0cac20a1ad
parent 35244 98f97eb20597
child 35435 f01101100043
--- a/hgext/uncommit.py	Sat Dec 09 14:22:12 2017 -0800
+++ b/hgext/uncommit.py	Mon Dec 11 09:27:40 2017 -0800
@@ -77,7 +77,7 @@
         if path not in contentctx:
             return None
         fctx = contentctx[path]
-        mctx = context.memfilectx(repo, fctx.path(), fctx.data(),
+        mctx = context.memfilectx(repo, memctx, fctx.path(), fctx.data(),
                                   fctx.islink(),
                                   fctx.isexec(),
                                   copied=copied.get(path))