diff -r 7f5108e58083 -r 72d155a792b1 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Tue Feb 13 10:20:57 2018 -0500 +++ b/mercurial/debugcommands.py Tue Feb 13 10:38:02 2018 -0500 @@ -1406,7 +1406,7 @@ return h def printrecords(version): - ui.write(('* version %s records\n') % version) + ui.write(('* version %d records\n') % version) if version == 1: records = v1records else: