Patchwork D7367: dirstate: re-blacken file

login
register
mail settings
Submitter phabricator
Date Nov. 12, 2019, 3:03 a.m.
Message ID <c50018a7a32bcc160484e457926486b9@localhost.localdomain>
Download mbox | patch
Permalink /patch/43139/
State Not Applicable
Headers show

Comments

phabricator - Nov. 12, 2019, 3:03 a.m.
Closed by commit rHGdc9c570a3818: dirstate: re-blacken file (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/D7367?vs=18026&id=18034

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

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

AFFECTED FILES
  mercurial/dirstate.py

CHANGE DETAILS




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

Patch

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: