# HG changeset patch # User Ian Moody # Date 1572733285 0 # Node ID 742065def6ca51f8ef7525730b94656214b18a70 # Parent 9a8f8c6ed965a70052c881b48a34783074f84d22 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 diff -r 9a8f8c6ed965 -r 742065def6ca hgext/phabricator.py --- 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