debugsidedata: fix verbose mode on python3
We need to be gently with python3 for it to display this binary data.
Differential Revision: https://phab.mercurial-scm.org/D6995
--- a/mercurial/debugcommands.py Sun Oct 06 12:59:47 2019 +0200
+++ b/mercurial/debugcommands.py Sun Oct 06 09:27:10 2019 -0400
@@ -2663,7 +2663,7 @@
for key, value in sidedata:
ui.write((' entry-%04o size %d\n' % (key, len(value))))
if ui.verbose:
- ui.write((' %s\n' % repr(value)))
+ ui.write((' %s\n' % stringutil.pprint(value)))
@command('debugssl', [], '[SOURCE]', optionalrepo=True)
def debugssl(ui, repo, source=None, **opts):