D5499: fastannotate: add a missing b prefix

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Mon Jan 7 05:57:50 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1205ba8f11ac: fastannotate: add a missing b prefix (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5499?vs=13021&id=13040

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, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list