diff -r ff6b8484400b -r dfcf589a4031 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Fri Mar 02 14:10:34 2018 -0500 +++ b/mercurial/debugcommands.py Fri Mar 02 14:12:17 2018 -0500 @@ -2790,12 +2790,13 @@ if 'PUSHFILE' in args: with open(args['PUSHFILE'], r'rb') as fh: del args['PUSHFILE'] - res, output = peer._callpush(command, fh, **args) + res, output = peer._callpush(command, fh, + **pycompat.strkwargs(args)) ui.status(_('result: %s\n') % util.escapedata(res)) ui.status(_('remote output: %s\n') % util.escapedata(output)) else: - res = peer._call(command, **args) + res = peer._call(command, **pycompat.strkwargs(args)) ui.status(_('response: %s\n') % util.escapedata(res)) elif action == 'batchbegin':