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

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Wed Dec 11 06:54:31 EST 2019


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

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())),
         )



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


More information about the Mercurial-devel mailing list