diff hgext/phabricator.py @ 43399:742065def6ca stable

py3: use %d to format an int Avoids a TypeError under py3. Fortunately this is very much an edge case since it requires the user to have deliberately created a local tag of the form 'D\d+' that isn't truthful. Differential Revision: https://phab.mercurial-scm.org/D7215
author Ian Moody <moz-ian@perix.co.uk>
date Sat, 02 Nov 2019 22:21:25 +0000
parents 579672b347d2
children a78a65c33b5a
line wrap: on
line diff
--- a/hgext/phabricator.py	Sat Nov 02 15:02:35 2019 -0700
+++ b/hgext/phabricator.py	Sat Nov 02 22:21:25 2019 +0000
@@ -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