# HG changeset patch # User Yuya Nishihara # Date 1540384144 -32400 # Node ID 24cb8a6d4c20ab1f8ca8afa0139710f3520665b7 # Parent 88702fd208ce8bdb8cc865618313f27c098b5388 py3: do not stringify integers in revlog stats by '%s' diff -r 88702fd208ce -r 24cb8a6d4c20 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Wed Oct 24 21:28:03 2018 +0900 +++ b/mercurial/debugcommands.py Wed Oct 24 21:29:04 2018 +0900 @@ -1172,7 +1172,7 @@ if not util.safehasattr(index, 'stats'): raise error.Abort(_('debugindexstats only works with native code')) for k, v in sorted(index.stats().items()): - ui.write('%s: %s\n' % (k, v)) + ui.write('%s: %d\n' % (k, v)) @command('debuginstall', [] + cmdutil.formatteropts, '', norepo=True) def debuginstall(ui, **opts):