hgext/histedit.py
changeset 21689 503bb3af70fe
parent 21409 37a3ac247c0d
child 21858 50fd3a36d166
--- a/hgext/histedit.py	Thu Aug 15 15:23:36 2013 -0500
+++ b/hgext/histedit.py	Thu Aug 15 16:49:27 2013 -0500
@@ -275,7 +275,8 @@
         if path in headmf:
             fctx = last[path]
             flags = fctx.flags()
-            mctx = context.memfilectx(fctx.path(), fctx.data(),
+            mctx = context.memfilectx(repo,
+                                      fctx.path(), fctx.data(),
                                       islink='l' in flags,
                                       isexec='x' in flags,
                                       copied=copied.get(path))