Mercurial > hg
diff hgext/fastannotate/revmap.py @ 41116: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 | 1ddb296e0dee |
children | 4eaf7197a740 |
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