changeset 41119:1205ba8f11ac

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
author Augie Fackler <raf@durin42.com>
date Sun, 06 Jan 2019 15:14:53 -0500
parents 536c83535cbd
children 0fea133780bf
files hgext/fastannotate/revmap.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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