# HG changeset patch # User Pierre-Yves David # Date 1570368430 14400 # Node ID 0fde7d47ad6f20a87fdf4f0dd39c2d22856974ab # Parent db33e4f25729acd2e9f146997805572d7be25ed6 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 diff -r db33e4f25729 -r 0fde7d47ad6f mercurial/debugcommands.py --- 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):