D6995: debugsidedata: fix verbose mode on python3

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Sun Oct 6 11:06:19 EDT 2019


Closed by commit rHG0fde7d47ad6f: debugsidedata: fix verbose mode on python3 (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6995?vs=16878&id=16889

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6995/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6995

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -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):



To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list