Mercurial > hg
changeset 43116:defabf63e969
debugcommands: add a few more writenoi18n()
Differential Revision: https://phab.mercurial-scm.org/D7027
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 08 Oct 2019 15:15:37 -0700 |
parents | 4aa72cdf616f |
children | 8ff1ecfadcd1 |
files | mercurial/debugcommands.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Sun Oct 06 20:17:41 2019 -0700 +++ b/mercurial/debugcommands.py Tue Oct 08 15:15:37 2019 -0700 @@ -2948,7 +2948,7 @@ if format == 0: if ui.verbose: - ui.write( + ui.writenoi18n( (b" rev offset length linkrev" b" %s %s p2\n") % (b"nodeid".ljust(idlen), b"p1".ljust(idlen)) ) @@ -2959,7 +2959,7 @@ ) elif format == 1: if ui.verbose: - ui.write( + ui.writenoi18n( ( b" rev flag offset length size link p1" b" p2 %s\n" @@ -3253,11 +3253,11 @@ if sidedata: sidedata = list(sidedata.items()) sidedata.sort() - ui.write((b'%d sidedata entries\n' % len(sidedata))) + ui.writenoi18n(b'%d sidedata entries\n' % len(sidedata)) for key, value in sidedata: - ui.write((b' entry-%04o size %d\n' % (key, len(value)))) + ui.writenoi18n(b' entry-%04o size %d\n' % (key, len(value))) if ui.verbose: - ui.write((b' %s\n' % stringutil.pprint(value))) + ui.writenoi18n(b' %s\n' % stringutil.pprint(value)) @command(b'debugssl', [], b'[SOURCE]', optionalrepo=True)