D7862: dirstate: move rust fast-path calling code to its own method

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Wed Jan 15 08:11:14 EST 2020


pulkit added a comment.


  Absorbing the following diff to make `test-check-format.t` happy:
  
    diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
    --- a/mercurial/dirstate.py
    +++ b/mercurial/dirstate.py
    @@ -1089,9 +1089,7 @@ class dirstate(object):
             # how to read the config file.
             numcpus = self._ui.configint(b"worker", b"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(b"worker", b"enabled", True)
             if not workers_enabled:

REPOSITORY
  rHG Mercurial

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

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

To: Alphare, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list