changeset 32765 | 041d976b662a |
parent 32662 | 9d201b39ccd9 |
child 32831 | de7dc25ecf2e |
--- a/mercurial/cmdutil.py Fri Jun 09 13:39:13 2017 -0700 +++ b/mercurial/cmdutil.py Sat Jun 10 10:24:33 2017 -0400 @@ -1108,11 +1108,13 @@ editor = None else: editor = getcommiteditor(editform='import.bypass') - memctx = context.makememctx(repo, (p1.node(), p2.node()), + memctx = context.memctx(repo, (p1.node(), p2.node()), message, - user, - date, - branch, files, store, + files=files, + filectxfn=store, + user=user, + date=date, + branch=branch, editor=editor) n = memctx.commit() finally: