fastannotate: add a missing b prefix
authorAugie Fackler <raf@durin42.com>
Sun, 06 Jan 2019 15:14:53 -0500
changeset 41116 1205ba8f11ac
parent 41115 536c83535cbd
child 41117 0fea133780bf
fastannotate: add a missing b prefix Spotted while debugging a test failure, but this wasn't the problem. # skip-blame b prefix Differential Revision: https://phab.mercurial-scm.org/D5499
hgext/fastannotate/revmap.py
--- a/hgext/fastannotate/revmap.py	Thu Dec 06 20:04:35 2018 +0100
+++ b/hgext/fastannotate/revmap.py	Sun Jan 06 15:14:53 2019 -0500
@@ -207,7 +207,7 @@
             path = self.rev2path(rev)
             if path is None:
                 raise error.CorruptedFileError('cannot find path for %s' % rev)
-            f.write(path + '\0')
+            f.write(path + b'\0')
         f.write(hsh)
 
     @staticmethod