D4593: py3: use '%d' for integers instead of '%s'
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Fri Sep 14 18:16:08 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb220851999b5: py3: use '%d' for integers instead of '%s' (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4593?vs=11047&id=11054
REVISION DETAIL
https://phab.mercurial-scm.org/D4593
AFFECTED FILES
hgext/fastannotate/protocol.py
CHANGE DETAILS
diff --git a/hgext/fastannotate/protocol.py b/hgext/fastannotate/protocol.py
--- a/hgext/fastannotate/protocol.py
+++ b/hgext/fastannotate/protocol.py
@@ -76,7 +76,7 @@
content = f.read()
vfsbaselen = len(repo.vfs.base + '/')
relpath = p[vfsbaselen:]
- result += '%s\0%s\0%s' % (relpath, len(content), content)
+ result += '%s\0%d\0%s' % (relpath, len(content), content)
return result
def _registerwireprotocommand():
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list