changeset 35165: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 6fe99a8e266d
children 25c543944bc0
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)