py3: use '%d' for integers rather than '%s'
authorPulkit Goyal <7895pulkit@gmail.com>
Wed, 29 Nov 2017 04:41:19 +0530
changeset 35144 8f6641fa7c89
parent 35143 6fe99a8e266d
child 35145 25c543944bc0
py3: use '%d' for integers rather than '%s' obsolete._readmarkers() returns an integer version number. Differential Revision: https://phab.mercurial-scm.org/D1537
mercurial/debugcommands.py
--- 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)