Patchwork D7598: py3: fix a bytes vs str issue in remotefilelog extension

login
register
mail settings
Submitter phabricator
Date Dec. 10, 2019, 11:49 p.m.
Message ID <differential-rev-PHID-DREV-q26djmjuhbntjhpjmykj-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/43695/
State Superseded
Headers show

Comments

phabricator - Dec. 10, 2019, 11:49 p.m.
spectral created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D7598

AFFECTED FILES
  hgext/remotefilelog/fileserverclient.py

CHANGE DETAILS




To: spectral, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/remotefilelog/fileserverclient.py b/hgext/remotefilelog/fileserverclient.py
--- a/hgext/remotefilelog/fileserverclient.py
+++ b/hgext/remotefilelog/fileserverclient.py
@@ -663,5 +663,5 @@ 
         self.ui.log(
             b'remotefilelog',
             b'excess remotefilelog fetching:\n%s\n',
-            b''.join(traceback.format_stack()),
+            b''.join(pycompat.sysbytes(traceback.format_stack())),
         )