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

login
register
mail settings
Submitter phabricator
Date Nov. 29, 2017, 9:16 p.m.
Message ID <12f29803c0789254c79630ba5b950211@localhost.localdomain>
Download mbox | patch
Permalink /patch/25803/
State Not Applicable
Headers show

Comments

phabricator - Nov. 29, 2017, 9:16 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8f6641fa7c89: py3: use &#039;%d&#039; for integers rather than &#039;%s&#039; (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




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

Patch

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)