D7367: dirstate: re-blacken file
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Nov 11 21:14:54 UTC 2019
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This got overlooked in landing a recent patch, but it's easy to fix up.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D7367
AFFECTED FILES
mercurial/dirstate.py
CHANGE DETAILS
diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -1114,7 +1114,9 @@
# how to read the config file.
numcpus = self._ui.configint("worker", "numcpus")
if numcpus is not None:
- encoding.environ.setdefault(b'RAYON_NUM_THREADS', b'%d' % numcpus)
+ encoding.environ.setdefault(
+ b'RAYON_NUM_THREADS', b'%d' % numcpus
+ )
workers_enabled = self._ui.configbool("worker", "enabled", True)
if not workers_enabled:
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list