##// END OF EJS Templates
debugcommands: add some strkwargs love to some **args calls...
Augie Fackler -
r36605:dfcf589a default
parent child Browse files
Show More
@@ -2790,12 +2790,13 b' def debugwireproto(ui, repo, **opts):'
2790 if 'PUSHFILE' in args:
2790 if 'PUSHFILE' in args:
2791 with open(args['PUSHFILE'], r'rb') as fh:
2791 with open(args['PUSHFILE'], r'rb') as fh:
2792 del args['PUSHFILE']
2792 del args['PUSHFILE']
2793 res, output = peer._callpush(command, fh, **args)
2793 res, output = peer._callpush(command, fh,
2794 **pycompat.strkwargs(args))
2794 ui.status(_('result: %s\n') % util.escapedata(res))
2795 ui.status(_('result: %s\n') % util.escapedata(res))
2795 ui.status(_('remote output: %s\n') %
2796 ui.status(_('remote output: %s\n') %
2796 util.escapedata(output))
2797 util.escapedata(output))
2797 else:
2798 else:
2798 res = peer._call(command, **args)
2799 res = peer._call(command, **pycompat.strkwargs(args))
2799 ui.status(_('response: %s\n') % util.escapedata(res))
2800 ui.status(_('response: %s\n') % util.escapedata(res))
2800
2801
2801 elif action == 'batchbegin':
2802 elif action == 'batchbegin':
General Comments 0
You need to be logged in to leave comments. Login now