debugcommands: add some strkwargs love to some **args calls
Differential Revision: https://phab.mercurial-scm.org/D2563
--- 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':