D7303: fix: replace str() by b'%d' for formatting integer
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Nov 8 12:07:24 EST 2019
Closed by commit rHGb2f95f9d3588: fix: replace str() by b'%d' for formatting integer (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7303?vs=17716&id=17791
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7303/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7303
AFFECTED FILES
hgext/fix.py
CHANGE DETAILS
diff --git a/hgext/fix.py b/hgext/fix.py
--- a/hgext/fix.py
+++ b/hgext/fix.py
@@ -681,7 +681,7 @@
if rev is None:
ui.warn(_(b'wdir'), label=b'evolve.rev')
else:
- ui.warn((str(rev)), label=b'evolve.rev')
+ ui.warn(b'%d' % rev, label=b'evolve.rev')
ui.warn(b'] %s: %s\n' % (fixername, line))
To: martinvonz, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list