hgext/convert/hg.py
changeset 21689 503bb3af70fe
parent 21635 5f2cc464e502
child 21765 44255f7ce886
--- a/hgext/convert/hg.py	Thu Aug 15 15:23:36 2013 -0500
+++ b/hgext/convert/hg.py	Thu Aug 15 16:49:27 2013 -0500
@@ -136,8 +136,8 @@
             data, mode = source.getfile(f, v)
             if f == '.hgtags':
                 data = self._rewritetags(source, revmap, data)
-            return context.memfilectx(f, data, 'l' in mode, 'x' in mode,
-                                      copies.get(f))
+            return context.memfilectx(self.repo, f, data, 'l' in mode,
+                                      'x' in mode, copies.get(f))
 
         pl = []
         for p in parents:
@@ -229,7 +229,7 @@
 
         data = "".join(newlines)
         def getfilectx(repo, memctx, f):
-            return context.memfilectx(f, data, False, False, None)
+            return context.memfilectx(repo, f, data, False, False, None)
 
         self.ui.status(_("updating tags\n"))
         date = "%s 0" % int(time.mktime(time.gmtime()))