Mercurial > public > mercurial-scm > hg
comparison hgext/remotefilelog/debugcommands.py @ 40668:feae4d1f5e01
py3: use '%d' for integers instead of '%s'
Differential Revision: https://phab.mercurial-scm.org/D5285
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Mon, 19 Nov 2018 20:30:07 +0300 |
parents | aa588bf40a08 |
children | 194e43c2bac9 |
comparison
equal
deleted
inserted
replaced
40667:02318e0810ac | 40668:feae4d1f5e01 |
---|---|
31 def debugremotefilelog(ui, path, **opts): | 31 def debugremotefilelog(ui, path, **opts): |
32 decompress = opts.get(r'decompress') | 32 decompress = opts.get(r'decompress') |
33 | 33 |
34 size, firstnode, mapping = parsefileblob(path, decompress) | 34 size, firstnode, mapping = parsefileblob(path, decompress) |
35 | 35 |
36 ui.status(_("size: %s bytes\n") % (size)) | 36 ui.status(_("size: %d bytes\n") % (size)) |
37 ui.status(_("path: %s \n") % (path)) | 37 ui.status(_("path: %s \n") % (path)) |
38 ui.status(_("key: %s \n") % (short(firstnode))) | 38 ui.status(_("key: %s \n") % (short(firstnode))) |
39 ui.status(_("\n")) | 39 ui.status(_("\n")) |
40 ui.status(_("%12s => %12s %13s %13s %12s\n") % | 40 ui.status(_("%12s => %12s %13s %13s %12s\n") % |
41 ("node", "p1", "p2", "linknode", "copyfrom")) | 41 ("node", "p1", "p2", "linknode", "copyfrom")) |