py3: use '%d' for integers instead of '%s'
authorPulkit Goyal <pulkit@yandex-team.ru>
Sat, 15 Sep 2018 00:24:05 +0300
changeset 39620 b220851999b5
parent 39619 2aa12d7fcb4f
child 39621 23b749b84b8a
py3: use '%d' for integers instead of '%s' Differential Revision: https://phab.mercurial-scm.org/D4593
hgext/fastannotate/protocol.py
--- 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():