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

login
register
mail settings
Submitter phabricator
Date Dec. 11, 2019, 11:54 a.m.
Message ID <99f974a2457ae21d65be8c2015a596a8@localhost.localdomain>
Download mbox | patch
Permalink /patch/43702/
State Not Applicable
Headers show

Comments

phabricator - Dec. 11, 2019, 11:54 a.m.
Closed by commit rHG94670e124d29: py3: fix a bytes vs str issue in remotefilelog extension (authored by spectral).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7598?vs=18592&id=18599

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7598/new/

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

AFFECTED FILES
  hgext/remotefilelog/fileserverclient.py

CHANGE DETAILS




To: spectral, #hg-reviewers, dlax, pulkit
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())),
         )