--- a/contrib/synthrepo.py Sat Dec 09 14:22:12 2017 -0800
+++ b/contrib/synthrepo.py Mon Dec 11 09:27:40 2017 -0800
@@ -376,7 +376,7 @@
dir = os.path.dirname(dir)
def filectxfn(repo, memctx, path):
- return context.memfilectx(repo, path, files[path])
+ return context.memfilectx(repo, memctx, path, files[path])
ui.progress(_synthesizing, None)
message = 'synthesized wide repo with %d files' % (len(files),)
@@ -468,7 +468,7 @@
def filectxfn(repo, memctx, path):
if path not in changes:
return None
- return context.memfilectx(repo, path, changes[path])
+ return context.memfilectx(repo, memctx, path, changes[path])
if not changes:
continue
if revs: