D1537: py3: use '%d' for integers rather than '%s'

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Wed Nov 29 16:16:12 EST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8f6641fa7c89: py3: use '%d' for integers rather than '%s' (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1537?vs=3950&id=3968

REVISION DETAIL
  https://phab.mercurial-scm.org/D1537

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -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)



To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list