equal
deleted
inserted
replaced
2999 **pycompat.strkwargs(args)) |
2999 **pycompat.strkwargs(args)) |
3000 ui.status(_('result: %s\n') % stringutil.escapestr(res)) |
3000 ui.status(_('result: %s\n') % stringutil.escapestr(res)) |
3001 ui.status(_('remote output: %s\n') % |
3001 ui.status(_('remote output: %s\n') % |
3002 stringutil.escapestr(output)) |
3002 stringutil.escapestr(output)) |
3003 else: |
3003 else: |
3004 res = peer._call(command, **pycompat.strkwargs(args)) |
3004 with peer.commandexecutor() as e: |
|
3005 res = e.callcommand(command, args).result() |
|
3006 |
3005 ui.status(_('response: %s\n') % stringutil.pprint(res)) |
3007 ui.status(_('response: %s\n') % stringutil.pprint(res)) |
3006 |
3008 |
3007 elif action == 'batchbegin': |
3009 elif action == 'batchbegin': |
3008 if batchedcommands is not None: |
3010 if batchedcommands is not None: |
3009 raise error.Abort(_('nested batchbegin not allowed')) |
3011 raise error.Abort(_('nested batchbegin not allowed')) |