Mercurial > public > mercurial-scm > hg-stable
diff hgext/remotefilelog/fileserverclient.py @ 44004:faf00e30b63f
remotefilelog: actually fix (and test this time) a bytes vs str issue
I attempted this in 94670e124d29 but we didn't actually have any tests for this
function it seems, and I mistook "it works now" for it being fixed (when what
had actually happened was that my cache had populated enough that I didn't
trigger the minimum threshold on my reattempts).
Differential Revision: https://phab.mercurial-scm.org/D7785
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Thu, 02 Jan 2020 17:30:27 -0800 |
parents | 94670e124d29 |
children | 2d49482d0dd4 |
line wrap: on
line diff
--- a/hgext/remotefilelog/fileserverclient.py Tue Jan 07 09:26:06 2020 -0500 +++ b/hgext/remotefilelog/fileserverclient.py Thu Jan 02 17:30:27 2020 -0800 @@ -663,5 +663,5 @@ self.ui.log( b'remotefilelog', b'excess remotefilelog fetching:\n%s\n', - b''.join(pycompat.sysbytes(traceback.format_stack())), + b''.join(pycompat.sysbytes(s) for s in traceback.format_stack()), )