changeset 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 9a8f8c6ed965
children 0d2393fc1cf8
files hgext/phabricator.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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