Mercurial > public > mercurial-scm > hg-stable
diff mercurial/configitems.py @ 40416:14b6afc6cb28 stable
configitems: rename the config to prevent adding an alias in future
Right now the config option looks like:
[experimental.server]
stream-narrow-clones=
which does not match how config options are generally defined in core. So let's
rename this to:
[experimental]
server.stream-narrow-clones=
before the new release so that we don't have to add an alias in future for this.
Differential Revision: https://phab.mercurial-scm.org/D5198
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Wed, 31 Oct 2018 15:27:06 +0300 |
parents | 89703e6151e7 |
children | 4265bfb53dd3 4fe63b573791 |
line wrap: on
line diff
--- a/mercurial/configitems.py Wed Oct 31 11:02:08 2018 +0100 +++ b/mercurial/configitems.py Wed Oct 31 15:27:06 2018 +0300 @@ -610,7 +610,7 @@ coreconfigitem('experimental', 'server.manifestdata.recommended-batch-size', default=100000, ) -coreconfigitem('experimental.server', 'stream-narrow-clones', +coreconfigitem('experimental', 'server.stream-narrow-clones', default=False, ) coreconfigitem('experimental', 'single-head-per-branch',