D1460: workers: add config to enable/disable workers

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Wed Nov 22 03:28:15 EST 2017


lothiraldan requested changes to this revision.
lothiraldan added a comment.
This revision now requires changes to proceed.


  Looks good.
  
  We are in the process of registering all the config options in the file named `configitems.py` (https://www.mercurial-scm.org/repo/hg/file/tip/mercurial/configitems.py#l1132), could you update the file with the new option `worker.enabled`. By registering the option, we will be able to centralize default values (so you can even remove the default value in the `configbol` call) and do nice things like validating the user configuration or easily register aliases.

REPOSITORY
  rHG Mercurial

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

To: wlis, #hg-reviewers, lothiraldan
Cc: lothiraldan, mercurial-devel


More information about the Mercurial-devel mailing list