diff -r 2aa12d7fcb4f -r b220851999b5 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():