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

login
register
mail settings
Submitter phabricator
Date Nov. 6, 2019, 10:56 p.m.
Message ID <differential-rev-PHID-DREV-z5ws5fla6szkk3ujtxz3-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42811/
State Superseded
Headers show

Comments

phabricator - Nov. 6, 2019, 10:56 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/vfs.py

CHANGE DETAILS




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