py3: use '%d' for integers rather than '%s'
obsolete._readmarkers() returns an integer version number.
Differential Revision: https://phab.mercurial-scm.org/D1537
--- 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)