Patchwork D5499: fastannotate: add a missing b prefix

login
register
mail settings
Submitter phabricator
Date Jan. 7, 2019, 10:57 a.m.
Message ID <ec501ce1cd70017742b3ac060b2ff9c3@localhost.localdomain>
Download mbox | patch
Permalink /patch/37518/
State Not Applicable
Headers show

Comments

phabricator - Jan. 7, 2019, 10:57 a.m.
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




To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

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