D7215: py3: use %d to format an int

Kwan (Ian Moody) phabricator at mercurial-scm.org
Mon Nov 4 11:28:43 EST 2019


Closed by commit rHG742065def6ca: py3: use %d to format an int (authored by Kwan).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7215?vs=17514&id=17530

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7215/new/

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

AFFECTED FILES
  hgext/phabricator.py

CHANGE DETAILS

diff --git a/hgext/phabricator.py b/hgext/phabricator.py
--- a/hgext/phabricator.py
+++ b/hgext/phabricator.py
@@ -441,7 +441,7 @@
                 )
                 unfi.ui.warn(
                     _(
-                        b'D%s: local tag removed - does not match '
+                        b'D%d: local tag removed - does not match '
                         b'Differential history\n'
                     )
                     % drev



To: Kwan, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list