author | Boris Feld <boris.feld@octobus.net> |
Fri, 30 Jun 2017 03:45:45 +0200 | |
changeset 34240 | c97a750c28a5 |
parent 34239 | 344fd1fe237b |
child 34241 | 98fa9183de54 |
permissions | -rw-r--r-- |
32983
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 |
# configitems.py - centralized declaration of configuration option |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 |
# |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 |
# Copyright 2017 Pierre-Yves David <pierre-yves.david@octobus.net> |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
4 |
# |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 |
# This software may be used and distributed according to the terms of the |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
6 |
# GNU General Public License version 2 or any later version. |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
7 |
|
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
8 |
from __future__ import absolute_import |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
9 |
|
33131
c2ca511c4771
configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33061
diff
changeset
|
10 |
import functools |
c2ca511c4771
configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33061
diff
changeset
|
11 |
|
32984
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
12 |
from . import ( |
34239
344fd1fe237b
configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents:
34238
diff
changeset
|
13 |
encoding, |
32984
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
14 |
error, |
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
15 |
) |
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
16 |
|
33132
c467d13334ee
configitems: add an official API for extensions to register config item
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33131
diff
changeset
|
17 |
def loadconfigtable(ui, extname, configtable): |
c467d13334ee
configitems: add an official API for extensions to register config item
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33131
diff
changeset
|
18 |
"""update config item known to the ui with the extension ones""" |
c467d13334ee
configitems: add an official API for extensions to register config item
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33131
diff
changeset
|
19 |
for section, items in configtable.items(): |
33133
bf1292c057ef
configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33132
diff
changeset
|
20 |
knownitems = ui._knownconfig.setdefault(section, {}) |
bf1292c057ef
configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33132
diff
changeset
|
21 |
knownkeys = set(knownitems) |
bf1292c057ef
configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33132
diff
changeset
|
22 |
newkeys = set(items) |
bf1292c057ef
configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33132
diff
changeset
|
23 |
for key in sorted(knownkeys & newkeys): |
bf1292c057ef
configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33132
diff
changeset
|
24 |
msg = "extension '%s' overwrite config item '%s.%s'" |
bf1292c057ef
configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33132
diff
changeset
|
25 |
msg %= (extname, section, key) |
bf1292c057ef
configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33132
diff
changeset
|
26 |
ui.develwarn(msg, config='warn-config') |
bf1292c057ef
configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33132
diff
changeset
|
27 |
|
bf1292c057ef
configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33132
diff
changeset
|
28 |
knownitems.update(items) |
33132
c467d13334ee
configitems: add an official API for extensions to register config item
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33131
diff
changeset
|
29 |
|
32983
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
30 |
class configitem(object): |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
31 |
"""represent a known config item |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
32 |
|
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
33 |
:section: the official config section where to find this item, |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
34 |
:name: the official name within the section, |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
35 |
:default: default value for this item, |
33329
e714159860fd
configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents:
33250
diff
changeset
|
36 |
:alias: optional list of tuples as alternatives. |
32983
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
37 |
""" |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
38 |
|
33329
e714159860fd
configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents:
33250
diff
changeset
|
39 |
def __init__(self, section, name, default=None, alias=()): |
32983
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
40 |
self.section = section |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
41 |
self.name = name |
0d757af1ea67
configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
42 |
self.default = default |
33329
e714159860fd
configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents:
33250
diff
changeset
|
43 |
self.alias = list(alias) |
32984
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
44 |
|
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
45 |
coreitems = {} |
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
46 |
|
33131
c2ca511c4771
configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33061
diff
changeset
|
47 |
def _register(configtable, *args, **kwargs): |
32984
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
48 |
item = configitem(*args, **kwargs) |
33131
c2ca511c4771
configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33061
diff
changeset
|
49 |
section = configtable.setdefault(item.section, {}) |
32984
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
50 |
if item.name in section: |
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
51 |
msg = "duplicated config item registration for '%s.%s'" |
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
52 |
raise error.ProgrammingError(msg % (item.section, item.name)) |
6d983e8af49c
configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32983
diff
changeset
|
53 |
section[item.name] = item |
32986
2529e2ae9f4c
configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32984
diff
changeset
|
54 |
|
33471
d74141ccfd8b
configitems: handle case were the default value is not static
Boris Feld <boris.feld@octobus.net>
parents:
33329
diff
changeset
|
55 |
# special value for case where the default is derived from other values |
d74141ccfd8b
configitems: handle case were the default value is not static
Boris Feld <boris.feld@octobus.net>
parents:
33329
diff
changeset
|
56 |
dynamicdefault = object() |
d74141ccfd8b
configitems: handle case were the default value is not static
Boris Feld <boris.feld@octobus.net>
parents:
33329
diff
changeset
|
57 |
|
32986
2529e2ae9f4c
configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32984
diff
changeset
|
58 |
# Registering actual config items |
2529e2ae9f4c
configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32984
diff
changeset
|
59 |
|
33131
c2ca511c4771
configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33061
diff
changeset
|
60 |
def getitemregister(configtable): |
c2ca511c4771
configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33061
diff
changeset
|
61 |
return functools.partial(_register, configtable) |
c2ca511c4771
configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33061
diff
changeset
|
62 |
|
c2ca511c4771
configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33061
diff
changeset
|
63 |
coreconfigitem = getitemregister(coreitems) |
c2ca511c4771
configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33061
diff
changeset
|
64 |
|
33180
21383dbb3611
configitems: register the 'auth.cookiefile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33179
diff
changeset
|
65 |
coreconfigitem('auth', 'cookiefile', |
21383dbb3611
configitems: register the 'auth.cookiefile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33179
diff
changeset
|
66 |
default=None, |
21383dbb3611
configitems: register the 'auth.cookiefile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33179
diff
changeset
|
67 |
) |
33181
640a0760e666
configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33180
diff
changeset
|
68 |
# bookmarks.pushing: internal hack for discovery |
640a0760e666
configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33180
diff
changeset
|
69 |
coreconfigitem('bookmarks', 'pushing', |
640a0760e666
configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33180
diff
changeset
|
70 |
default=list, |
640a0760e666
configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33180
diff
changeset
|
71 |
) |
33182
634997248c97
configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33181
diff
changeset
|
72 |
# bundle.mainreporoot: internal hack for bundlerepo |
634997248c97
configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33181
diff
changeset
|
73 |
coreconfigitem('bundle', 'mainreporoot', |
634997248c97
configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33181
diff
changeset
|
74 |
default='', |
634997248c97
configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33181
diff
changeset
|
75 |
) |
33183
9f95f0bb343b
configitems: register the 'bundle.reorder' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33182
diff
changeset
|
76 |
# bundle.reorder: experimental config |
9f95f0bb343b
configitems: register the 'bundle.reorder' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33182
diff
changeset
|
77 |
coreconfigitem('bundle', 'reorder', |
9f95f0bb343b
configitems: register the 'bundle.reorder' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33182
diff
changeset
|
78 |
default='auto', |
9f95f0bb343b
configitems: register the 'bundle.reorder' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33182
diff
changeset
|
79 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
80 |
coreconfigitem('censor', 'policy', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
81 |
default='abort', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
82 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
83 |
coreconfigitem('chgserver', 'idletimeout', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
84 |
default=3600, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
85 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
86 |
coreconfigitem('chgserver', 'skiphash', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
87 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
88 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
89 |
coreconfigitem('cmdserver', 'log', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
90 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
91 |
) |
33179
95c57596b380
configitems: register the 'color.mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33177
diff
changeset
|
92 |
coreconfigitem('color', 'mode', |
95c57596b380
configitems: register the 'color.mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33177
diff
changeset
|
93 |
default='auto', |
95c57596b380
configitems: register the 'color.mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33177
diff
changeset
|
94 |
) |
33472
d0869a6e83ab
configitems: register the 'color.pagermode' config
Boris Feld <boris.feld@octobus.net>
parents:
33471
diff
changeset
|
95 |
coreconfigitem('color', 'pagermode', |
d0869a6e83ab
configitems: register the 'color.pagermode' config
Boris Feld <boris.feld@octobus.net>
parents:
33471
diff
changeset
|
96 |
default=dynamicdefault, |
d0869a6e83ab
configitems: register the 'color.pagermode' config
Boris Feld <boris.feld@octobus.net>
parents:
33471
diff
changeset
|
97 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
98 |
coreconfigitem('commands', 'status.relative', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
99 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
100 |
) |
33771
96f43981c1c4
morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
33523
diff
changeset
|
101 |
coreconfigitem('commands', 'status.skipstates', |
96f43981c1c4
morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
33523
diff
changeset
|
102 |
default=[], |
96f43981c1c4
morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
33523
diff
changeset
|
103 |
) |
96f43981c1c4
morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
33523
diff
changeset
|
104 |
coreconfigitem('commands', 'status.verbose', |
96f43981c1c4
morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
33523
diff
changeset
|
105 |
default=False, |
96f43981c1c4
morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
33523
diff
changeset
|
106 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
107 |
coreconfigitem('commands', 'update.requiredest', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
108 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
109 |
) |
33158
cb7140e230c8
config: register the 'devel.all-warnings' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33150
diff
changeset
|
110 |
coreconfigitem('devel', 'all-warnings', |
cb7140e230c8
config: register the 'devel.all-warnings' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33150
diff
changeset
|
111 |
default=False, |
cb7140e230c8
config: register the 'devel.all-warnings' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33150
diff
changeset
|
112 |
) |
33159
0224820688ac
config: register the 'devel.bundle2.debug' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33158
diff
changeset
|
113 |
coreconfigitem('devel', 'bundle2.debug', |
0224820688ac
config: register the 'devel.bundle2.debug' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33158
diff
changeset
|
114 |
default=False, |
0224820688ac
config: register the 'devel.bundle2.debug' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33158
diff
changeset
|
115 |
) |
33160
12aaade1f617
config: register the devel.check-locks config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33159
diff
changeset
|
116 |
coreconfigitem('devel', 'check-locks', |
12aaade1f617
config: register the devel.check-locks config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33159
diff
changeset
|
117 |
default=False, |
12aaade1f617
config: register the devel.check-locks config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33159
diff
changeset
|
118 |
) |
33161
b1cf9bb8a5a2
config: register the 'devel.check-relroot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33160
diff
changeset
|
119 |
coreconfigitem('devel', 'check-relroot', |
b1cf9bb8a5a2
config: register the 'devel.check-relroot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33160
diff
changeset
|
120 |
default=False, |
b1cf9bb8a5a2
config: register the 'devel.check-relroot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33160
diff
changeset
|
121 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
122 |
coreconfigitem('devel', 'default-date', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
123 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
124 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
125 |
coreconfigitem('devel', 'deprec-warn', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
126 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
127 |
) |
33162
1ad6d6cee9eb
config: register the 'devel.disableloaddefaultcerts' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33161
diff
changeset
|
128 |
coreconfigitem('devel', 'disableloaddefaultcerts', |
1ad6d6cee9eb
config: register the 'devel.disableloaddefaultcerts' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33161
diff
changeset
|
129 |
default=False, |
1ad6d6cee9eb
config: register the 'devel.disableloaddefaultcerts' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33161
diff
changeset
|
130 |
) |
33184
649f3b0495c8
config: register the 'devel.legacy.exchange' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33183
diff
changeset
|
131 |
coreconfigitem('devel', 'legacy.exchange', |
649f3b0495c8
config: register the 'devel.legacy.exchange' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33183
diff
changeset
|
132 |
default=list, |
649f3b0495c8
config: register the 'devel.legacy.exchange' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33183
diff
changeset
|
133 |
) |
33163
1969adf2139a
config: register the 'devel.servercafile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33162
diff
changeset
|
134 |
coreconfigitem('devel', 'servercafile', |
1969adf2139a
config: register the 'devel.servercafile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33162
diff
changeset
|
135 |
default='', |
1969adf2139a
config: register the 'devel.servercafile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33162
diff
changeset
|
136 |
) |
33164
f15850eff735
config: register the 'devel.serverexactprotocol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33163
diff
changeset
|
137 |
coreconfigitem('devel', 'serverexactprotocol', |
f15850eff735
config: register the 'devel.serverexactprotocol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33163
diff
changeset
|
138 |
default='', |
f15850eff735
config: register the 'devel.serverexactprotocol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33163
diff
changeset
|
139 |
) |
33165
1a6f28439135
config: register the 'devel.serverrequirecert' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33164
diff
changeset
|
140 |
coreconfigitem('devel', 'serverrequirecert', |
33177
be723e2afd3d
configitem: fix default value for 'serverrequirecert'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33166
diff
changeset
|
141 |
default=False, |
33165
1a6f28439135
config: register the 'devel.serverrequirecert' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33164
diff
changeset
|
142 |
) |
33166
5c9ad50fd62f
config: register the 'devel.strip-obsmarkers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33165
diff
changeset
|
143 |
coreconfigitem('devel', 'strip-obsmarkers', |
5c9ad50fd62f
config: register the 'devel.strip-obsmarkers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33165
diff
changeset
|
144 |
default=True, |
5c9ad50fd62f
config: register the 'devel.strip-obsmarkers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33165
diff
changeset
|
145 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
146 |
coreconfigitem('email', 'charsets', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
147 |
default=list, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
148 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
149 |
coreconfigitem('email', 'method', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
150 |
default='smtp', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
151 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
152 |
coreconfigitem('experimental', 'bundle-phases', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
153 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
154 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
155 |
coreconfigitem('experimental', 'bundle2-advertise', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
156 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
157 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
158 |
coreconfigitem('experimental', 'bundle2-output-capture', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
159 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
160 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
161 |
coreconfigitem('experimental', 'bundle2.pushback', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
162 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
163 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
164 |
coreconfigitem('experimental', 'bundle2lazylocking', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
165 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
166 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
167 |
coreconfigitem('experimental', 'bundlecomplevel', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
168 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
169 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
170 |
coreconfigitem('experimental', 'changegroup3', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
171 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
172 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
173 |
coreconfigitem('experimental', 'clientcompressionengines', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
174 |
default=list, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
175 |
) |
34077
26531db4647a
copytrace: replace experimental.disablecopytrace config with copytrace (BC)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
34005
diff
changeset
|
176 |
coreconfigitem('experimental', 'copytrace', |
26531db4647a
copytrace: replace experimental.disablecopytrace config with copytrace (BC)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
34005
diff
changeset
|
177 |
default='on', |
26531db4647a
copytrace: replace experimental.disablecopytrace config with copytrace (BC)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
34005
diff
changeset
|
178 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
179 |
coreconfigitem('experimental', 'crecordtest', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
180 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
181 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
182 |
coreconfigitem('experimental', 'editortmpinhg', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
183 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
184 |
) |
33772
d434a7f0685c
config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents:
33771
diff
changeset
|
185 |
coreconfigitem('experimental', 'stabilization', |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
186 |
default=list, |
33772
d434a7f0685c
config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents:
33771
diff
changeset
|
187 |
alias=[('experimental', 'evolution')], |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
188 |
) |
33772
d434a7f0685c
config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents:
33771
diff
changeset
|
189 |
coreconfigitem('experimental', 'stabilization.bundle-obsmarker', |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
190 |
default=False, |
33772
d434a7f0685c
config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents:
33771
diff
changeset
|
191 |
alias=[('experimental', 'evolution.bundle-obsmarker')], |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
192 |
) |
33772
d434a7f0685c
config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents:
33771
diff
changeset
|
193 |
coreconfigitem('experimental', 'stabilization.track-operation', |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
194 |
default=False, |
33772
d434a7f0685c
config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents:
33771
diff
changeset
|
195 |
alias=[('experimental', 'evolution.track-operation')] |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
196 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
197 |
coreconfigitem('experimental', 'exportableenviron', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
198 |
default=list, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
199 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
200 |
coreconfigitem('experimental', 'extendedheader.index', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
201 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
202 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
203 |
coreconfigitem('experimental', 'extendedheader.similarity', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
204 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
205 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
206 |
coreconfigitem('experimental', 'format.compression', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
207 |
default='zlib', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
208 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
209 |
coreconfigitem('experimental', 'graphshorten', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
210 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
211 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
212 |
coreconfigitem('experimental', 'hook-track-tags', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
213 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
214 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
215 |
coreconfigitem('experimental', 'httppostargs', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
216 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
217 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
218 |
coreconfigitem('experimental', 'manifestv2', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
219 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
220 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
221 |
coreconfigitem('experimental', 'mergedriver', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
222 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
223 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
224 |
coreconfigitem('experimental', 'obsmarkers-exchange-debug', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
225 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
226 |
) |
34005
5e83a8fe6bc4
rebase: initial support for multiple destinations
Jun Wu <quark@fb.com>
parents:
33835
diff
changeset
|
227 |
coreconfigitem('experimental', 'rebase.multidest', |
5e83a8fe6bc4
rebase: initial support for multiple destinations
Jun Wu <quark@fb.com>
parents:
33835
diff
changeset
|
228 |
default=False, |
5e83a8fe6bc4
rebase: initial support for multiple destinations
Jun Wu <quark@fb.com>
parents:
33835
diff
changeset
|
229 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
230 |
coreconfigitem('experimental', 'revertalternateinteractivemode', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
231 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
232 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
233 |
coreconfigitem('experimental', 'revlogv2', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
234 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
235 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
236 |
coreconfigitem('experimental', 'spacemovesdown', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
237 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
238 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
239 |
coreconfigitem('experimental', 'treemanifest', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
240 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
241 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
242 |
coreconfigitem('experimental', 'updatecheck', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
243 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
244 |
) |
33235
b838e857439d
configitems: register the 'format.aggressivemergedeltas' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33234
diff
changeset
|
245 |
coreconfigitem('format', 'aggressivemergedeltas', |
b838e857439d
configitems: register the 'format.aggressivemergedeltas' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33234
diff
changeset
|
246 |
default=False, |
b838e857439d
configitems: register the 'format.aggressivemergedeltas' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33234
diff
changeset
|
247 |
) |
33236
cf6c478bc339
configitems: register the 'format.chunkcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33235
diff
changeset
|
248 |
coreconfigitem('format', 'chunkcachesize', |
cf6c478bc339
configitems: register the 'format.chunkcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33235
diff
changeset
|
249 |
default=None, |
cf6c478bc339
configitems: register the 'format.chunkcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33235
diff
changeset
|
250 |
) |
33237
7043e67cc9b2
configitems: register the 'format.dotencode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33236
diff
changeset
|
251 |
coreconfigitem('format', 'dotencode', |
7043e67cc9b2
configitems: register the 'format.dotencode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33236
diff
changeset
|
252 |
default=True, |
7043e67cc9b2
configitems: register the 'format.dotencode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33236
diff
changeset
|
253 |
) |
33238
784f2bd96d43
configitems: register the 'format.generaldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33237
diff
changeset
|
254 |
coreconfigitem('format', 'generaldelta', |
784f2bd96d43
configitems: register the 'format.generaldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33237
diff
changeset
|
255 |
default=False, |
784f2bd96d43
configitems: register the 'format.generaldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33237
diff
changeset
|
256 |
) |
33239
a4f6dee1b9f1
configitems: register the 'format.manifestcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33238
diff
changeset
|
257 |
coreconfigitem('format', 'manifestcachesize', |
a4f6dee1b9f1
configitems: register the 'format.manifestcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33238
diff
changeset
|
258 |
default=None, |
a4f6dee1b9f1
configitems: register the 'format.manifestcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33238
diff
changeset
|
259 |
) |
33240
91c1e7c974c2
configitems: register the 'format.maxchainlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33239
diff
changeset
|
260 |
coreconfigitem('format', 'maxchainlen', |
91c1e7c974c2
configitems: register the 'format.maxchainlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33239
diff
changeset
|
261 |
default=None, |
91c1e7c974c2
configitems: register the 'format.maxchainlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33239
diff
changeset
|
262 |
) |
33244
fd50788a2d4f
configitems: register the 'format.obsstore-version' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33240
diff
changeset
|
263 |
coreconfigitem('format', 'obsstore-version', |
fd50788a2d4f
configitems: register the 'format.obsstore-version' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33240
diff
changeset
|
264 |
default=None, |
fd50788a2d4f
configitems: register the 'format.obsstore-version' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33240
diff
changeset
|
265 |
) |
33245
28e8983d9ed7
configitems: register the 'format.usefncache' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33244
diff
changeset
|
266 |
coreconfigitem('format', 'usefncache', |
28e8983d9ed7
configitems: register the 'format.usefncache' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33244
diff
changeset
|
267 |
default=True, |
28e8983d9ed7
configitems: register the 'format.usefncache' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33244
diff
changeset
|
268 |
) |
33246
4d9458e06ef0
configitems: register the 'format.usegeneraldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33245
diff
changeset
|
269 |
coreconfigitem('format', 'usegeneraldelta', |
4d9458e06ef0
configitems: register the 'format.usegeneraldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33245
diff
changeset
|
270 |
default=True, |
4d9458e06ef0
configitems: register the 'format.usegeneraldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33245
diff
changeset
|
271 |
) |
33247
4d5d493ea54a
configitems: register the 'format.usestore' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33246
diff
changeset
|
272 |
coreconfigitem('format', 'usestore', |
4d5d493ea54a
configitems: register the 'format.usestore' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33246
diff
changeset
|
273 |
default=True, |
4d5d493ea54a
configitems: register the 'format.usestore' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33246
diff
changeset
|
274 |
) |
33217
f96c2f2f559b
configitems: register the 'hostsecurity.ciphers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33184
diff
changeset
|
275 |
coreconfigitem('hostsecurity', 'ciphers', |
f96c2f2f559b
configitems: register the 'hostsecurity.ciphers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33184
diff
changeset
|
276 |
default=None, |
f96c2f2f559b
configitems: register the 'hostsecurity.ciphers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33184
diff
changeset
|
277 |
) |
33218
24f3ff50736d
configitems: register the 'hostsecurity.disabletls10warning' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33217
diff
changeset
|
278 |
coreconfigitem('hostsecurity', 'disabletls10warning', |
24f3ff50736d
configitems: register the 'hostsecurity.disabletls10warning' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33217
diff
changeset
|
279 |
default=False, |
24f3ff50736d
configitems: register the 'hostsecurity.disabletls10warning' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33217
diff
changeset
|
280 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
281 |
coreconfigitem('http_proxy', 'always', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
282 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
283 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
284 |
coreconfigitem('http_proxy', 'host', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
285 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
286 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
287 |
coreconfigitem('http_proxy', 'no', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
288 |
default=list, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
289 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
290 |
coreconfigitem('http_proxy', 'passwd', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
291 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
292 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
293 |
coreconfigitem('http_proxy', 'user', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
294 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
295 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
296 |
coreconfigitem('merge', 'followcopies', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
297 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
298 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
299 |
coreconfigitem('pager', 'ignore', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
300 |
default=list, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
301 |
) |
33229
dd50a370c8cb
configitems: register the 'patch.eol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33228
diff
changeset
|
302 |
coreconfigitem('patch', 'eol', |
dd50a370c8cb
configitems: register the 'patch.eol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33228
diff
changeset
|
303 |
default='strict', |
dd50a370c8cb
configitems: register the 'patch.eol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33228
diff
changeset
|
304 |
) |
32990
1d5d7e2b7ab5
configitems: register 'patch.fuzz' as first example for 'configint'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32986
diff
changeset
|
305 |
coreconfigitem('patch', 'fuzz', |
1d5d7e2b7ab5
configitems: register 'patch.fuzz' as first example for 'configint'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32986
diff
changeset
|
306 |
default=2, |
1d5d7e2b7ab5
configitems: register 'patch.fuzz' as first example for 'configint'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32986
diff
changeset
|
307 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
308 |
coreconfigitem('paths', 'default', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
309 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
310 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
311 |
coreconfigitem('paths', 'default-push', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
312 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
313 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
314 |
coreconfigitem('phases', 'checksubrepos', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
315 |
default='follow', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
316 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
317 |
coreconfigitem('phases', 'publish', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
318 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
319 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
320 |
coreconfigitem('profiling', 'enabled', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
321 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
322 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
323 |
coreconfigitem('profiling', 'format', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
324 |
default='text', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
325 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
326 |
coreconfigitem('profiling', 'freq', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
327 |
default=1000, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
328 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
329 |
coreconfigitem('profiling', 'limit', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
330 |
default=30, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
331 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
332 |
coreconfigitem('profiling', 'nested', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
333 |
default=0, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
334 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
335 |
coreconfigitem('profiling', 'sort', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
336 |
default='inlinetime', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
337 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
338 |
coreconfigitem('profiling', 'statformat', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
339 |
default='hotpath', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
340 |
) |
33248
be00b61e4c4a
configitems: register the 'progress.assume-tty' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33247
diff
changeset
|
341 |
coreconfigitem('progress', 'assume-tty', |
be00b61e4c4a
configitems: register the 'progress.assume-tty' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33247
diff
changeset
|
342 |
default=False, |
be00b61e4c4a
configitems: register the 'progress.assume-tty' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33247
diff
changeset
|
343 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
344 |
coreconfigitem('progress', 'changedelay', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
345 |
default=1, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
346 |
) |
33249
391da1416038
configitems: register the 'progress.clear-complete' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33248
diff
changeset
|
347 |
coreconfigitem('progress', 'clear-complete', |
391da1416038
configitems: register the 'progress.clear-complete' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33248
diff
changeset
|
348 |
default=True, |
391da1416038
configitems: register the 'progress.clear-complete' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33248
diff
changeset
|
349 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
350 |
coreconfigitem('progress', 'debug', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
351 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
352 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
353 |
coreconfigitem('progress', 'delay', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
354 |
default=3, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
355 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
356 |
coreconfigitem('progress', 'disable', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
357 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
358 |
) |
33250
bbc57a7e8823
configitems: register the 'progress.estimate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33249
diff
changeset
|
359 |
coreconfigitem('progress', 'estimate', |
bbc57a7e8823
configitems: register the 'progress.estimate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33249
diff
changeset
|
360 |
default=2, |
bbc57a7e8823
configitems: register the 'progress.estimate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33249
diff
changeset
|
361 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
362 |
coreconfigitem('progress', 'refresh', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
363 |
default=0.1, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
364 |
) |
33473
b78c59e41a65
configitems: register the 'progress.width' config
Boris Feld <boris.feld@octobus.net>
parents:
33472
diff
changeset
|
365 |
coreconfigitem('progress', 'width', |
b78c59e41a65
configitems: register the 'progress.width' config
Boris Feld <boris.feld@octobus.net>
parents:
33472
diff
changeset
|
366 |
default=dynamicdefault, |
b78c59e41a65
configitems: register the 'progress.width' config
Boris Feld <boris.feld@octobus.net>
parents:
33472
diff
changeset
|
367 |
) |
33835
057d31ceace3
pushvars: add a coreconfigitem for push.pushvars.server
Pulkit Goyal <7895pulkit@gmail.com>
parents:
33772
diff
changeset
|
368 |
coreconfigitem('push', 'pushvars.server', |
057d31ceace3
pushvars: add a coreconfigitem for push.pushvars.server
Pulkit Goyal <7895pulkit@gmail.com>
parents:
33772
diff
changeset
|
369 |
default=False, |
057d31ceace3
pushvars: add a coreconfigitem for push.pushvars.server
Pulkit Goyal <7895pulkit@gmail.com>
parents:
33772
diff
changeset
|
370 |
) |
33219
ffb1d0f541f5
configitems: register the 'server.bundle1' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33218
diff
changeset
|
371 |
coreconfigitem('server', 'bundle1', |
ffb1d0f541f5
configitems: register the 'server.bundle1' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33218
diff
changeset
|
372 |
default=True, |
ffb1d0f541f5
configitems: register the 'server.bundle1' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33218
diff
changeset
|
373 |
) |
33220
40861b2254a5
configitems: register the 'server.bundle1gd' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33219
diff
changeset
|
374 |
coreconfigitem('server', 'bundle1gd', |
40861b2254a5
configitems: register the 'server.bundle1gd' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33219
diff
changeset
|
375 |
default=None, |
40861b2254a5
configitems: register the 'server.bundle1gd' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33219
diff
changeset
|
376 |
) |
33221
4237398c67c0
configitems: register the 'server.compressionengines' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33220
diff
changeset
|
377 |
coreconfigitem('server', 'compressionengines', |
4237398c67c0
configitems: register the 'server.compressionengines' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33220
diff
changeset
|
378 |
default=list, |
4237398c67c0
configitems: register the 'server.compressionengines' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33220
diff
changeset
|
379 |
) |
33222
593ad8df9dd2
configitems: register the 'server.concurrent-push-mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33221
diff
changeset
|
380 |
coreconfigitem('server', 'concurrent-push-mode', |
593ad8df9dd2
configitems: register the 'server.concurrent-push-mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33221
diff
changeset
|
381 |
default='strict', |
593ad8df9dd2
configitems: register the 'server.concurrent-push-mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33221
diff
changeset
|
382 |
) |
33223
d227451ee280
configitems: register the 'server.disablefullbundle' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33222
diff
changeset
|
383 |
coreconfigitem('server', 'disablefullbundle', |
d227451ee280
configitems: register the 'server.disablefullbundle' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33222
diff
changeset
|
384 |
default=False, |
d227451ee280
configitems: register the 'server.disablefullbundle' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33222
diff
changeset
|
385 |
) |
33224
ab9121fda8d2
configitems: register the 'server.maxhttpheaderlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33223
diff
changeset
|
386 |
coreconfigitem('server', 'maxhttpheaderlen', |
ab9121fda8d2
configitems: register the 'server.maxhttpheaderlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33223
diff
changeset
|
387 |
default=1024, |
ab9121fda8d2
configitems: register the 'server.maxhttpheaderlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33223
diff
changeset
|
388 |
) |
33225
90a1b62bdc91
configitems: register the 'server.preferuncompressed' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33224
diff
changeset
|
389 |
coreconfigitem('server', 'preferuncompressed', |
90a1b62bdc91
configitems: register the 'server.preferuncompressed' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33224
diff
changeset
|
390 |
default=False, |
90a1b62bdc91
configitems: register the 'server.preferuncompressed' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33224
diff
changeset
|
391 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
392 |
coreconfigitem('server', 'uncompressed', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
393 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
394 |
) |
33226
b045344fe35e
configitems: register the 'server.uncompressedallowsecret' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33225
diff
changeset
|
395 |
coreconfigitem('server', 'uncompressedallowsecret', |
b045344fe35e
configitems: register the 'server.uncompressedallowsecret' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33225
diff
changeset
|
396 |
default=False, |
b045344fe35e
configitems: register the 'server.uncompressedallowsecret' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33225
diff
changeset
|
397 |
) |
33227
86c9aa1d598f
configitems: register the 'server.validate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33226
diff
changeset
|
398 |
coreconfigitem('server', 'validate', |
86c9aa1d598f
configitems: register the 'server.validate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33226
diff
changeset
|
399 |
default=False, |
86c9aa1d598f
configitems: register the 'server.validate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33226
diff
changeset
|
400 |
) |
33228
35c233975b78
configitems: register the 'server.zliblevel' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33227
diff
changeset
|
401 |
coreconfigitem('server', 'zliblevel', |
35c233975b78
configitems: register the 'server.zliblevel' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33227
diff
changeset
|
402 |
default=-1, |
35c233975b78
configitems: register the 'server.zliblevel' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33227
diff
changeset
|
403 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
404 |
coreconfigitem('smtp', 'host', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
405 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
406 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
407 |
coreconfigitem('smtp', 'local_hostname', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
408 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
409 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
410 |
coreconfigitem('smtp', 'password', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
411 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
412 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
413 |
coreconfigitem('smtp', 'tls', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
414 |
default='none', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
415 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
416 |
coreconfigitem('smtp', 'username', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
417 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
418 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
419 |
coreconfigitem('sparse', 'missingwarning', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
420 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
421 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
422 |
coreconfigitem('trusted', 'groups', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
423 |
default=list, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
424 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
425 |
coreconfigitem('trusted', 'users', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
426 |
default=list, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
427 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
428 |
coreconfigitem('ui', '_usedassubrepo', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
429 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
430 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
431 |
coreconfigitem('ui', 'allowemptycommit', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
432 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
433 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
434 |
coreconfigitem('ui', 'archivemeta', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
435 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
436 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
437 |
coreconfigitem('ui', 'askusername', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
438 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
439 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
440 |
coreconfigitem('ui', 'clonebundlefallback', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
441 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
442 |
) |
32991
03608e8d09e9
configitems: register 'ui.clonebundleprefers' as example for 'configlist'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32990
diff
changeset
|
443 |
coreconfigitem('ui', 'clonebundleprefers', |
33150
77e666f943a6
configitems: support callable as a default value
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33133
diff
changeset
|
444 |
default=list, |
32991
03608e8d09e9
configitems: register 'ui.clonebundleprefers' as example for 'configlist'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32990
diff
changeset
|
445 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
446 |
coreconfigitem('ui', 'clonebundles', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
447 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
448 |
) |
33522
62b29ca72d1a
configitems: register the 'ui.color' config
Boris Feld <boris.feld@octobus.net>
parents:
33520
diff
changeset
|
449 |
coreconfigitem('ui', 'color', |
62b29ca72d1a
configitems: register the 'ui.color' config
Boris Feld <boris.feld@octobus.net>
parents:
33520
diff
changeset
|
450 |
default='auto', |
62b29ca72d1a
configitems: register the 'ui.color' config
Boris Feld <boris.feld@octobus.net>
parents:
33520
diff
changeset
|
451 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
452 |
coreconfigitem('ui', 'commitsubrepos', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
453 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
454 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
455 |
coreconfigitem('ui', 'debug', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
456 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
457 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
458 |
coreconfigitem('ui', 'debugger', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
459 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
460 |
) |
33519
3b7e36f7e632
configitems: register the 'ui.fallbackencoding' config
Boris Feld <boris.feld@octobus.net>
parents:
33499
diff
changeset
|
461 |
coreconfigitem('ui', 'fallbackencoding', |
3b7e36f7e632
configitems: register the 'ui.fallbackencoding' config
Boris Feld <boris.feld@octobus.net>
parents:
33499
diff
changeset
|
462 |
default=None, |
3b7e36f7e632
configitems: register the 'ui.fallbackencoding' config
Boris Feld <boris.feld@octobus.net>
parents:
33499
diff
changeset
|
463 |
) |
33520
6e19198cbe31
configitems: register the 'ui.forcecwd' config
Boris Feld <boris.feld@octobus.net>
parents:
33519
diff
changeset
|
464 |
coreconfigitem('ui', 'forcecwd', |
6e19198cbe31
configitems: register the 'ui.forcecwd' config
Boris Feld <boris.feld@octobus.net>
parents:
33519
diff
changeset
|
465 |
default=None, |
6e19198cbe31
configitems: register the 'ui.forcecwd' config
Boris Feld <boris.feld@octobus.net>
parents:
33519
diff
changeset
|
466 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
467 |
coreconfigitem('ui', 'forcemerge', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
468 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
469 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
470 |
coreconfigitem('ui', 'formatdebug', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
471 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
472 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
473 |
coreconfigitem('ui', 'formatjson', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
474 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
475 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
476 |
coreconfigitem('ui', 'formatted', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
477 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
478 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
479 |
coreconfigitem('ui', 'graphnodetemplate', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
480 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
481 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
482 |
coreconfigitem('ui', 'http2debuglevel', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
483 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
484 |
) |
33061
c41cbe98822c
configitems: register 'ui.interactive'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32991
diff
changeset
|
485 |
coreconfigitem('ui', 'interactive', |
c41cbe98822c
configitems: register 'ui.interactive'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32991
diff
changeset
|
486 |
default=None, |
c41cbe98822c
configitems: register 'ui.interactive'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32991
diff
changeset
|
487 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
488 |
coreconfigitem('ui', 'interface', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
489 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
490 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
491 |
coreconfigitem('ui', 'logblockedtimes', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
492 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
493 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
494 |
coreconfigitem('ui', 'logtemplate', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
495 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
496 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
497 |
coreconfigitem('ui', 'merge', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
498 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
499 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
500 |
coreconfigitem('ui', 'mergemarkers', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
501 |
default='basic', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
502 |
) |
33523
11025c4f1016
configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents:
33522
diff
changeset
|
503 |
coreconfigitem('ui', 'mergemarkertemplate', |
11025c4f1016
configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents:
33522
diff
changeset
|
504 |
default=('{node|short} ' |
11025c4f1016
configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents:
33522
diff
changeset
|
505 |
'{ifeq(tags, "tip", "", ' |
11025c4f1016
configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents:
33522
diff
changeset
|
506 |
'ifeq(tags, "", "", "{tags} "))}' |
11025c4f1016
configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents:
33522
diff
changeset
|
507 |
'{if(bookmarks, "{bookmarks} ")}' |
11025c4f1016
configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents:
33522
diff
changeset
|
508 |
'{ifeq(branch, "default", "", "{branch} ")}' |
11025c4f1016
configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents:
33522
diff
changeset
|
509 |
'- {author|user}: {desc|firstline}') |
11025c4f1016
configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents:
33522
diff
changeset
|
510 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
511 |
coreconfigitem('ui', 'nontty', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
512 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
513 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
514 |
coreconfigitem('ui', 'origbackuppath', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
515 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
516 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
517 |
coreconfigitem('ui', 'paginate', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
518 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
519 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
520 |
coreconfigitem('ui', 'patch', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
521 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
522 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
523 |
coreconfigitem('ui', 'portablefilenames', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
524 |
default='warn', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
525 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
526 |
coreconfigitem('ui', 'promptecho', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
527 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
528 |
) |
32986
2529e2ae9f4c
configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32984
diff
changeset
|
529 |
coreconfigitem('ui', 'quiet', |
2529e2ae9f4c
configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32984
diff
changeset
|
530 |
default=False, |
2529e2ae9f4c
configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
32984
diff
changeset
|
531 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
532 |
coreconfigitem('ui', 'quietbookmarkmove', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
533 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
534 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
535 |
coreconfigitem('ui', 'remotecmd', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
536 |
default='hg', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
537 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
538 |
coreconfigitem('ui', 'report_untrusted', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
539 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
540 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
541 |
coreconfigitem('ui', 'rollback', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
542 |
default=True, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
543 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
544 |
coreconfigitem('ui', 'slash', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
545 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
546 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
547 |
coreconfigitem('ui', 'ssh', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
548 |
default='ssh', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
549 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
550 |
coreconfigitem('ui', 'statuscopies', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
551 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
552 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
553 |
coreconfigitem('ui', 'strict', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
554 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
555 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
556 |
coreconfigitem('ui', 'style', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
557 |
default='', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
558 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
559 |
coreconfigitem('ui', 'supportcontact', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
560 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
561 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
562 |
coreconfigitem('ui', 'textwidth', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
563 |
default=78, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
564 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
565 |
coreconfigitem('ui', 'timeout', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
566 |
default='600', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
567 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
568 |
coreconfigitem('ui', 'traceback', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
569 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
570 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
571 |
coreconfigitem('ui', 'tweakdefaults', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
572 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
573 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
574 |
coreconfigitem('ui', 'usehttp2', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
575 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
576 |
) |
33329
e714159860fd
configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents:
33250
diff
changeset
|
577 |
coreconfigitem('ui', 'username', |
e714159860fd
configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents:
33250
diff
changeset
|
578 |
alias=[('ui', 'user')] |
e714159860fd
configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents:
33250
diff
changeset
|
579 |
) |
33499
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
580 |
coreconfigitem('ui', 'verbose', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
581 |
default=False, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
582 |
) |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
583 |
coreconfigitem('verify', 'skipflags', |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
584 |
default=None, |
0407a51b9d8c
codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents:
33474
diff
changeset
|
585 |
) |
34227
ac96ff471c9a
configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net>
parents:
34077
diff
changeset
|
586 |
coreconfigitem('web', 'accesslog', |
ac96ff471c9a
configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net>
parents:
34077
diff
changeset
|
587 |
default='-', |
ac96ff471c9a
configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net>
parents:
34077
diff
changeset
|
588 |
) |
34228
af4f0c74f8b5
configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net>
parents:
34227
diff
changeset
|
589 |
coreconfigitem('web', 'address', |
af4f0c74f8b5
configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net>
parents:
34227
diff
changeset
|
590 |
default='', |
af4f0c74f8b5
configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net>
parents:
34227
diff
changeset
|
591 |
) |
34229
6742e18e41f0
configitems: register the 'web.allow_archive' config
Boris Feld <boris.feld@octobus.net>
parents:
34228
diff
changeset
|
592 |
coreconfigitem('web', 'allow_archive', |
6742e18e41f0
configitems: register the 'web.allow_archive' config
Boris Feld <boris.feld@octobus.net>
parents:
34228
diff
changeset
|
593 |
default=list, |
6742e18e41f0
configitems: register the 'web.allow_archive' config
Boris Feld <boris.feld@octobus.net>
parents:
34228
diff
changeset
|
594 |
) |
34230
b0a567017647
configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net>
parents:
34229
diff
changeset
|
595 |
coreconfigitem('web', 'allow_read', |
b0a567017647
configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net>
parents:
34229
diff
changeset
|
596 |
default=list, |
b0a567017647
configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net>
parents:
34229
diff
changeset
|
597 |
) |
34231
4a192d70502e
configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net>
parents:
34230
diff
changeset
|
598 |
coreconfigitem('web', 'baseurl', |
4a192d70502e
configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net>
parents:
34230
diff
changeset
|
599 |
default=None, |
4a192d70502e
configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net>
parents:
34230
diff
changeset
|
600 |
) |
34232
f33904b8bb77
configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net>
parents:
34231
diff
changeset
|
601 |
coreconfigitem('web', 'cacerts', |
f33904b8bb77
configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net>
parents:
34231
diff
changeset
|
602 |
default=None, |
f33904b8bb77
configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net>
parents:
34231
diff
changeset
|
603 |
) |
34233
25b24a3e5a9e
configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net>
parents:
34232
diff
changeset
|
604 |
coreconfigitem('web', 'certificate', |
25b24a3e5a9e
configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net>
parents:
34232
diff
changeset
|
605 |
default=None, |
25b24a3e5a9e
configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net>
parents:
34232
diff
changeset
|
606 |
) |
34234
f6d25ffc8b7f
configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net>
parents:
34233
diff
changeset
|
607 |
coreconfigitem('web', 'collapse', |
f6d25ffc8b7f
configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net>
parents:
34233
diff
changeset
|
608 |
default=False, |
f6d25ffc8b7f
configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net>
parents:
34233
diff
changeset
|
609 |
) |
34235
147104631eac
configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net>
parents:
34234
diff
changeset
|
610 |
coreconfigitem('web', 'csp', |
147104631eac
configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net>
parents:
34234
diff
changeset
|
611 |
default=None, |
147104631eac
configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net>
parents:
34234
diff
changeset
|
612 |
) |
34236
9becd05476b8
configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net>
parents:
34235
diff
changeset
|
613 |
coreconfigitem('web', 'deny_read', |
9becd05476b8
configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net>
parents:
34235
diff
changeset
|
614 |
default=list, |
9becd05476b8
configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net>
parents:
34235
diff
changeset
|
615 |
) |
34237
131f8cd2c2b4
configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net>
parents:
34236
diff
changeset
|
616 |
coreconfigitem('web', 'descend', |
131f8cd2c2b4
configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net>
parents:
34236
diff
changeset
|
617 |
default=True, |
131f8cd2c2b4
configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net>
parents:
34236
diff
changeset
|
618 |
) |
34238
a6c18628dff1
configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net>
parents:
34237
diff
changeset
|
619 |
coreconfigitem('web', 'description', |
a6c18628dff1
configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net>
parents:
34237
diff
changeset
|
620 |
default="", |
a6c18628dff1
configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net>
parents:
34237
diff
changeset
|
621 |
) |
34239
344fd1fe237b
configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents:
34238
diff
changeset
|
622 |
coreconfigitem('web', 'encoding', |
344fd1fe237b
configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents:
34238
diff
changeset
|
623 |
default=lambda: encoding.encoding, |
344fd1fe237b
configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents:
34238
diff
changeset
|
624 |
) |
34240
c97a750c28a5
configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net>
parents:
34239
diff
changeset
|
625 |
coreconfigitem('web', 'errorlog', |
c97a750c28a5
configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net>
parents:
34239
diff
changeset
|
626 |
default='-', |
c97a750c28a5
configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net>
parents:
34239
diff
changeset
|
627 |
) |
33474
c514b4fb5e27
configitems: register the 'worker.backgroundclose' config
Boris Feld <boris.feld@octobus.net>
parents:
33473
diff
changeset
|
628 |
coreconfigitem('worker', 'backgroundclose', |
c514b4fb5e27
configitems: register the 'worker.backgroundclose' config
Boris Feld <boris.feld@octobus.net>
parents:
33473
diff
changeset
|
629 |
default=dynamicdefault, |
c514b4fb5e27
configitems: register the 'worker.backgroundclose' config
Boris Feld <boris.feld@octobus.net>
parents:
33473
diff
changeset
|
630 |
) |
33234
b62d13506860
configitems: gather comment related to 'worker.backgroundclosemaxqueue'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33233
diff
changeset
|
631 |
# Windows defaults to a limit of 512 open files. A buffer of 128 |
b62d13506860
configitems: gather comment related to 'worker.backgroundclosemaxqueue'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33233
diff
changeset
|
632 |
# should give us enough headway. |
33230
5dcbd2045dcb
configitems: register the 'worker.backgroundclosemaxqueue' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33229
diff
changeset
|
633 |
coreconfigitem('worker', 'backgroundclosemaxqueue', |
5dcbd2045dcb
configitems: register the 'worker.backgroundclosemaxqueue' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33229
diff
changeset
|
634 |
default=384, |
5dcbd2045dcb
configitems: register the 'worker.backgroundclosemaxqueue' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33229
diff
changeset
|
635 |
) |
33231
d19804c16710
configitems: register the 'worker.backgroundcloseminfilecount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33230
diff
changeset
|
636 |
coreconfigitem('worker', 'backgroundcloseminfilecount', |
d19804c16710
configitems: register the 'worker.backgroundcloseminfilecount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33230
diff
changeset
|
637 |
default=2048, |
d19804c16710
configitems: register the 'worker.backgroundcloseminfilecount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33230
diff
changeset
|
638 |
) |
33232
4531a967e7f1
configitems: register the 'worker.backgroundclosethreadcount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33231
diff
changeset
|
639 |
coreconfigitem('worker', 'backgroundclosethreadcount', |
4531a967e7f1
configitems: register the 'worker.backgroundclosethreadcount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33231
diff
changeset
|
640 |
default=4, |
4531a967e7f1
configitems: register the 'worker.backgroundclosethreadcount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33231
diff
changeset
|
641 |
) |
33233
c9849bec227a
configitems: register the 'worker.numcpus' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33232
diff
changeset
|
642 |
coreconfigitem('worker', 'numcpus', |
c9849bec227a
configitems: register the 'worker.numcpus' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33232
diff
changeset
|
643 |
default=None, |
c9849bec227a
configitems: register the 'worker.numcpus' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
33232
diff
changeset
|
644 |
) |