diff -r e9aadee698cf -r 2f859ad7ed8c mercurial/debugcommands.py --- a/mercurial/debugcommands.py Wed Mar 28 13:30:24 2018 -0700 +++ b/mercurial/debugcommands.py Wed Mar 28 14:52:57 2018 -0700 @@ -2969,7 +2969,7 @@ stringutil.escapedata(output)) else: res = peer._call(command, **pycompat.strkwargs(args)) - ui.status(_('response: %s\n') % stringutil.escapedata(res)) + ui.status(_('response: %s\n') % stringutil.pprint(res)) elif action == 'batchbegin': if batchedcommands is not None: