D5499: fastannotate: add a missing b prefix
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Sun Jan 6 20:28:27 UTC 2019
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Spotted while debugging a test failure, but this wasn't the problem.
1. skip-blame b prefix
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5499
AFFECTED FILES
hgext/fastannotate/revmap.py
CHANGE DETAILS
diff --git a/hgext/fastannotate/revmap.py b/hgext/fastannotate/revmap.py
--- a/hgext/fastannotate/revmap.py
+++ b/hgext/fastannotate/revmap.py
@@ -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
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list