Patchwork D7260: vfs: another bytes-str confusion on thread name

login
register
mail settings
Submitter phabricator
Date Nov. 7, 2019, 8:31 a.m.
Message ID <19a36c5a46b5aa826e2d094e6f4616ac@localhost.localdomain>
Download mbox | patch
Permalink /patch/42860/
State Not Applicable
Headers show

Comments

phabricator - Nov. 7, 2019, 8:31 a.m.
Closed by commit rHGffd632c224c3: vfs: another bytes-str confusion on thread name (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7260?vs=17630&id=17677

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

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

AFFECTED FILES
  mercurial/vfs.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/vfs.py b/mercurial/vfs.py
--- a/mercurial/vfs.py
+++ b/mercurial/vfs.py
@@ -649,7 +649,7 @@ 
         self._running = True
 
         for i in range(threadcount):
-            t = threading.Thread(target=self._worker, name=b'backgroundcloser')
+            t = threading.Thread(target=self._worker, name='backgroundcloser')
             self._threads.append(t)
             t.start()