Mercurial > hg
diff mercurial/debugcommands.py @ 35144:8f6641fa7c89
py3: use '%d' for integers rather than '%s'
obsolete._readmarkers() returns an integer version number.
Differential Revision: https://phab.mercurial-scm.org/D1537
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 29 Nov 2017 04:41:19 +0530 |
parents | 5cbbef8d2a57 |
children | b45a9d121b53 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Wed Nov 29 04:41:48 2017 +0530 +++ b/mercurial/debugcommands.py Wed Nov 29 04:41:19 2017 +0530 @@ -296,7 +296,7 @@ msg %= indent_string, exc.version, len(data) ui.write(msg) else: - msg = "%sversion: %s (%d bytes)\n" + msg = "%sversion: %d (%d bytes)\n" msg %= indent_string, version, len(data) ui.write(msg) fm = ui.formatter('debugobsolete', opts)