Patchwork D6995: debugsidedata: fix verbose mode on python3

login
register
mail settings
Submitter phabricator
Date Oct. 6, 2019, 3:06 p.m.
Message ID <48a0367674b05a3547b9073668b5ea3f@localhost.localdomain>
Download mbox | patch
Permalink /patch/42022/
State Not Applicable
Headers show

Comments

phabricator - Oct. 6, 2019, 3:06 p.m.
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




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

Patch

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):