mercurial/debugcommands.py
changeset 37722 89a16704114c
parent 37720 d715a85003c8
child 37823 0e9ddab2bac2
--- a/mercurial/debugcommands.py	Sat Apr 14 11:49:06 2018 -0700
+++ b/mercurial/debugcommands.py	Sat Apr 14 12:07:31 2018 -0700
@@ -3014,11 +3014,7 @@
                     res = e.callcommand(command, args).result()
 
                 if isinstance(res, wireprotov2peer.commandresponse):
-                    if res.cbor:
-                        val = list(res.cborobjects())
-                    else:
-                        val = [res.b.getvalue()]
-
+                    val = list(res.cborobjects())
                     ui.status(_('response: %s\n') % stringutil.pprint(val))
 
                 else: