py3: use '%d' for integers instead of '%s'
Differential Revision: https://phab.mercurial-scm.org/D4593
--- a/hgext/fastannotate/protocol.py Sat Sep 15 00:17:56 2018 +0300
+++ b/hgext/fastannotate/protocol.py Sat Sep 15 00:24:05 2018 +0300
@@ -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():