annotate mercurial/configitems.py @ 34667:23f891164e59

configitems: register the 'extensions' section
author Boris Feld <boris.feld@octobus.net>
date Tue, 10 Oct 2017 10:48:47 +0200
parents e7966337aed0
children 31723cff35fa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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
34662
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
11 import re
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
12
32984
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
13 from . import (
34239
344fd1fe237b configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents: 34238
diff changeset
14 encoding,
32984
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
15 error,
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
16 )
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
17
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
18 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
19 """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
20 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
21 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
22 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
23 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
24 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
25 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
26 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
27 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
28
bf1292c057ef configitems: add a devel warning for extensions items overiding core one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33132
diff changeset
29 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
30
32983
0d757af1ea67 configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
31 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
32 """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
33
0d757af1ea67 configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
34 :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
35 :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
36 :default: default value for this item,
34662
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
37 :alias: optional list of tuples as alternatives,
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
38 :generic: this is a generic definition, match name using regular expression.
32983
0d757af1ea67 configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
39 """
0d757af1ea67 configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
40
34662
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
41 def __init__(self, section, name, default=None, alias=(),
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
42 generic=False, priority=0):
32983
0d757af1ea67 configitems: add a basic class to hold config item information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
43 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
44 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
45 self.default = default
33329
e714159860fd configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents: 33250
diff changeset
46 self.alias = list(alias)
34662
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
47 self.generic = generic
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
48 self.priority = priority
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
49 self._re = None
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
50 if generic:
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
51 self._re = re.compile(self.name)
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
52
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
53 class itemregister(dict):
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
54 """A specialized dictionary that can handle wild-card selection"""
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
55
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
56 def __init__(self):
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
57 super(itemregister, self).__init__()
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
58 self._generics = set()
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
59
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
60 def update(self, other):
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
61 super(itemregister, self).update(other)
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
62 self._generics.update(other._generics)
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
63
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
64 def __setitem__(self, key, item):
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
65 super(itemregister, self).__setitem__(key, item)
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
66 if item.generic:
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
67 self._generics.add(item)
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
68
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
69 def get(self, key):
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
70 if key in self:
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
71 return self[key]
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
72
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
73 # search for a matching generic item
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
74 generics = sorted(self._generics, key=(lambda x: (x.priority, x.name)))
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
75 for item in generics:
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
76 if item._re.match(key):
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
77 return item
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
78
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
79 # fallback to dict get
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
80 return super(itemregister, self).get(key)
32984
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
81
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
82 coreitems = {}
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
83
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
84 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
85 item = configitem(*args, **kwargs)
34662
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
86 section = configtable.setdefault(item.section, itemregister())
32984
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
87 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
88 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
89 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
90 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
91
33471
d74141ccfd8b configitems: handle case were the default value is not static
Boris Feld <boris.feld@octobus.net>
parents: 33329
diff changeset
92 # 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
93 dynamicdefault = object()
d74141ccfd8b configitems: handle case were the default value is not static
Boris Feld <boris.feld@octobus.net>
parents: 33329
diff changeset
94
32986
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
95 # Registering actual config items
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
96
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
97 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
98 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
99
c2ca511c4771 configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33061
diff changeset
100 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
101
34663
6de7842290b2 configitems: register the 'alias' section
Boris Feld <boris.feld@octobus.net>
parents: 34662
diff changeset
102 coreconfigitem('alias', '.*',
6de7842290b2 configitems: register the 'alias' section
Boris Feld <boris.feld@octobus.net>
parents: 34662
diff changeset
103 default=None,
6de7842290b2 configitems: register the 'alias' section
Boris Feld <boris.feld@octobus.net>
parents: 34662
diff changeset
104 generic=True,
6de7842290b2 configitems: register the 'alias' section
Boris Feld <boris.feld@octobus.net>
parents: 34662
diff changeset
105 )
34618
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
106 coreconfigitem('annotate', 'nodates',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
107 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
108 )
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
109 coreconfigitem('annotate', 'showfunc',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
110 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
111 )
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
112 coreconfigitem('annotate', 'unified',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
113 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
114 )
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
115 coreconfigitem('annotate', 'git',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
116 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
117 )
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
118 coreconfigitem('annotate', 'ignorews',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
119 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
120 )
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
121 coreconfigitem('annotate', 'ignorewsamount',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
122 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
123 )
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
124 coreconfigitem('annotate', 'ignoreblanklines',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
125 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
126 )
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
127 coreconfigitem('annotate', 'ignorewseol',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
128 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
129 )
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
130 coreconfigitem('annotate', 'nobinary',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
131 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
132 )
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
133 coreconfigitem('annotate', 'noprefix',
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
134 default=None,
37b4375b1221 configitems: register the annotate diff options
Boris Feld <boris.feld@octobus.net>
parents: 34616
diff changeset
135 )
33180
21383dbb3611 configitems: register the 'auth.cookiefile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33179
diff changeset
136 coreconfigitem('auth', 'cookiefile',
21383dbb3611 configitems: register the 'auth.cookiefile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33179
diff changeset
137 default=None,
21383dbb3611 configitems: register the 'auth.cookiefile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33179
diff changeset
138 )
33181
640a0760e666 configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33180
diff changeset
139 # 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
140 coreconfigitem('bookmarks', 'pushing',
640a0760e666 configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33180
diff changeset
141 default=list,
640a0760e666 configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33180
diff changeset
142 )
33182
634997248c97 configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33181
diff changeset
143 # 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
144 coreconfigitem('bundle', 'mainreporoot',
634997248c97 configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33181
diff changeset
145 default='',
634997248c97 configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33181
diff changeset
146 )
33183
9f95f0bb343b configitems: register the 'bundle.reorder' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33182
diff changeset
147 # bundle.reorder: experimental config
9f95f0bb343b configitems: register the 'bundle.reorder' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33182
diff changeset
148 coreconfigitem('bundle', 'reorder',
9f95f0bb343b configitems: register the 'bundle.reorder' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33182
diff changeset
149 default='auto',
9f95f0bb343b configitems: register the 'bundle.reorder' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33182
diff changeset
150 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
151 coreconfigitem('censor', 'policy',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
152 default='abort',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
153 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
154 coreconfigitem('chgserver', 'idletimeout',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
155 default=3600,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
156 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
157 coreconfigitem('chgserver', 'skiphash',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
158 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
159 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
160 coreconfigitem('cmdserver', 'log',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
161 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
162 )
34664
a0c2a19d64e7 configitems: register the 'color' section
Boris Feld <boris.feld@octobus.net>
parents: 34663
diff changeset
163 coreconfigitem('color', '.*',
a0c2a19d64e7 configitems: register the 'color' section
Boris Feld <boris.feld@octobus.net>
parents: 34663
diff changeset
164 default=None,
a0c2a19d64e7 configitems: register the 'color' section
Boris Feld <boris.feld@octobus.net>
parents: 34663
diff changeset
165 generic=True,
a0c2a19d64e7 configitems: register the 'color' section
Boris Feld <boris.feld@octobus.net>
parents: 34663
diff changeset
166 )
33179
95c57596b380 configitems: register the 'color.mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33177
diff changeset
167 coreconfigitem('color', 'mode',
95c57596b380 configitems: register the 'color.mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33177
diff changeset
168 default='auto',
95c57596b380 configitems: register the 'color.mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33177
diff changeset
169 )
33472
d0869a6e83ab configitems: register the 'color.pagermode' config
Boris Feld <boris.feld@octobus.net>
parents: 33471
diff changeset
170 coreconfigitem('color', 'pagermode',
d0869a6e83ab configitems: register the 'color.pagermode' config
Boris Feld <boris.feld@octobus.net>
parents: 33471
diff changeset
171 default=dynamicdefault,
d0869a6e83ab configitems: register the 'color.pagermode' config
Boris Feld <boris.feld@octobus.net>
parents: 33471
diff changeset
172 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
173 coreconfigitem('commands', 'status.relative',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
174 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
175 )
33771
96f43981c1c4 morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33523
diff changeset
176 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
177 default=[],
96f43981c1c4 morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33523
diff changeset
178 )
96f43981c1c4 morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33523
diff changeset
179 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
180 default=False,
96f43981c1c4 morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33523
diff changeset
181 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
182 coreconfigitem('commands', 'update.requiredest',
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 )
34665
dd1357edff37 configitems: register the 'committemplate' section
Boris Feld <boris.feld@octobus.net>
parents: 34664
diff changeset
185 coreconfigitem('committemplate', '.*',
dd1357edff37 configitems: register the 'committemplate' section
Boris Feld <boris.feld@octobus.net>
parents: 34664
diff changeset
186 default=None,
dd1357edff37 configitems: register the 'committemplate' section
Boris Feld <boris.feld@octobus.net>
parents: 34664
diff changeset
187 generic=True,
dd1357edff37 configitems: register the 'committemplate' section
Boris Feld <boris.feld@octobus.net>
parents: 34664
diff changeset
188 )
34480
cbda631c1dde configitems: register the 'debug.dirstate.delaywrite' config
Boris Feld <boris.feld@octobus.net>
parents: 34479
diff changeset
189 coreconfigitem('debug', 'dirstate.delaywrite',
cbda631c1dde configitems: register the 'debug.dirstate.delaywrite' config
Boris Feld <boris.feld@octobus.net>
parents: 34479
diff changeset
190 default=0,
cbda631c1dde configitems: register the 'debug.dirstate.delaywrite' config
Boris Feld <boris.feld@octobus.net>
parents: 34479
diff changeset
191 )
34666
e7966337aed0 configitems: register the 'defaults' section
Boris Feld <boris.feld@octobus.net>
parents: 34665
diff changeset
192 coreconfigitem('defaults', '.*',
e7966337aed0 configitems: register the 'defaults' section
Boris Feld <boris.feld@octobus.net>
parents: 34665
diff changeset
193 default=None,
e7966337aed0 configitems: register the 'defaults' section
Boris Feld <boris.feld@octobus.net>
parents: 34665
diff changeset
194 generic=True,
e7966337aed0 configitems: register the 'defaults' section
Boris Feld <boris.feld@octobus.net>
parents: 34665
diff changeset
195 )
33158
cb7140e230c8 config: register the 'devel.all-warnings' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33150
diff changeset
196 coreconfigitem('devel', 'all-warnings',
cb7140e230c8 config: register the 'devel.all-warnings' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33150
diff changeset
197 default=False,
cb7140e230c8 config: register the 'devel.all-warnings' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33150
diff changeset
198 )
33159
0224820688ac config: register the 'devel.bundle2.debug' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33158
diff changeset
199 coreconfigitem('devel', 'bundle2.debug',
0224820688ac config: register the 'devel.bundle2.debug' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33158
diff changeset
200 default=False,
0224820688ac config: register the 'devel.bundle2.debug' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33158
diff changeset
201 )
34525
100f0ddb029b configitems: register the 'devel.cache-vfs' config
Boris Feld <boris.feld@octobus.net>
parents: 34524
diff changeset
202 coreconfigitem('devel', 'cache-vfs',
100f0ddb029b configitems: register the 'devel.cache-vfs' config
Boris Feld <boris.feld@octobus.net>
parents: 34524
diff changeset
203 default=None,
100f0ddb029b configitems: register the 'devel.cache-vfs' config
Boris Feld <boris.feld@octobus.net>
parents: 34524
diff changeset
204 )
33160
12aaade1f617 config: register the devel.check-locks config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33159
diff changeset
205 coreconfigitem('devel', 'check-locks',
12aaade1f617 config: register the devel.check-locks config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33159
diff changeset
206 default=False,
12aaade1f617 config: register the devel.check-locks config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33159
diff changeset
207 )
33161
b1cf9bb8a5a2 config: register the 'devel.check-relroot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33160
diff changeset
208 coreconfigitem('devel', 'check-relroot',
b1cf9bb8a5a2 config: register the 'devel.check-relroot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33160
diff changeset
209 default=False,
b1cf9bb8a5a2 config: register the 'devel.check-relroot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33160
diff changeset
210 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
211 coreconfigitem('devel', 'default-date',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
212 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
213 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
214 coreconfigitem('devel', 'deprec-warn',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
215 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
216 )
33162
1ad6d6cee9eb config: register the 'devel.disableloaddefaultcerts' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33161
diff changeset
217 coreconfigitem('devel', 'disableloaddefaultcerts',
1ad6d6cee9eb config: register the 'devel.disableloaddefaultcerts' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33161
diff changeset
218 default=False,
1ad6d6cee9eb config: register the 'devel.disableloaddefaultcerts' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33161
diff changeset
219 )
34526
3999b74b6765 configitems: register the 'devel.empty-changegroup' config
Boris Feld <boris.feld@octobus.net>
parents: 34525
diff changeset
220 coreconfigitem('devel', 'empty-changegroup',
3999b74b6765 configitems: register the 'devel.empty-changegroup' config
Boris Feld <boris.feld@octobus.net>
parents: 34525
diff changeset
221 default=False,
3999b74b6765 configitems: register the 'devel.empty-changegroup' config
Boris Feld <boris.feld@octobus.net>
parents: 34525
diff changeset
222 )
33184
649f3b0495c8 config: register the 'devel.legacy.exchange' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33183
diff changeset
223 coreconfigitem('devel', 'legacy.exchange',
649f3b0495c8 config: register the 'devel.legacy.exchange' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33183
diff changeset
224 default=list,
649f3b0495c8 config: register the 'devel.legacy.exchange' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33183
diff changeset
225 )
33163
1969adf2139a config: register the 'devel.servercafile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33162
diff changeset
226 coreconfigitem('devel', 'servercafile',
1969adf2139a config: register the 'devel.servercafile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33162
diff changeset
227 default='',
1969adf2139a config: register the 'devel.servercafile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33162
diff changeset
228 )
33164
f15850eff735 config: register the 'devel.serverexactprotocol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33163
diff changeset
229 coreconfigitem('devel', 'serverexactprotocol',
f15850eff735 config: register the 'devel.serverexactprotocol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33163
diff changeset
230 default='',
f15850eff735 config: register the 'devel.serverexactprotocol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33163
diff changeset
231 )
33165
1a6f28439135 config: register the 'devel.serverrequirecert' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33164
diff changeset
232 coreconfigitem('devel', 'serverrequirecert',
33177
be723e2afd3d configitem: fix default value for 'serverrequirecert'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33166
diff changeset
233 default=False,
33165
1a6f28439135 config: register the 'devel.serverrequirecert' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33164
diff changeset
234 )
33166
5c9ad50fd62f config: register the 'devel.strip-obsmarkers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33165
diff changeset
235 coreconfigitem('devel', 'strip-obsmarkers',
5c9ad50fd62f config: register the 'devel.strip-obsmarkers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33165
diff changeset
236 default=True,
5c9ad50fd62f config: register the 'devel.strip-obsmarkers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33165
diff changeset
237 )
34523
486dbd6afa57 configitems: register the 'devel.warn-config' config
Boris Feld <boris.feld@octobus.net>
parents: 34522
diff changeset
238 coreconfigitem('devel', 'warn-config',
486dbd6afa57 configitems: register the 'devel.warn-config' config
Boris Feld <boris.feld@octobus.net>
parents: 34522
diff changeset
239 default=None,
486dbd6afa57 configitems: register the 'devel.warn-config' config
Boris Feld <boris.feld@octobus.net>
parents: 34522
diff changeset
240 )
34524
99c5922b1641 configitems: register the 'devel.warn-config-default' config
Boris Feld <boris.feld@octobus.net>
parents: 34523
diff changeset
241 coreconfigitem('devel', 'warn-config-default',
99c5922b1641 configitems: register the 'devel.warn-config-default' config
Boris Feld <boris.feld@octobus.net>
parents: 34523
diff changeset
242 default=None,
99c5922b1641 configitems: register the 'devel.warn-config-default' config
Boris Feld <boris.feld@octobus.net>
parents: 34523
diff changeset
243 )
34575
dc91580a0a88 obsolete: add a devel.user.obsmarker
Boris Feld <boris.feld@octobus.net>
parents: 34563
diff changeset
244 coreconfigitem('devel', 'user.obsmarker',
dc91580a0a88 obsolete: add a devel.user.obsmarker
Boris Feld <boris.feld@octobus.net>
parents: 34563
diff changeset
245 default=None,
dc91580a0a88 obsolete: add a devel.user.obsmarker
Boris Feld <boris.feld@octobus.net>
parents: 34563
diff changeset
246 )
34521
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
247 coreconfigitem('diff', 'nodates',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
248 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
249 )
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
250 coreconfigitem('diff', 'showfunc',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
251 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
252 )
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
253 coreconfigitem('diff', 'unified',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
254 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
255 )
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
256 coreconfigitem('diff', 'git',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
257 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
258 )
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
259 coreconfigitem('diff', 'ignorews',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
260 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
261 )
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
262 coreconfigitem('diff', 'ignorewsamount',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
263 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
264 )
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
265 coreconfigitem('diff', 'ignoreblanklines',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
266 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
267 )
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
268 coreconfigitem('diff', 'ignorewseol',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
269 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
270 )
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
271 coreconfigitem('diff', 'nobinary',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
272 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
273 )
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
274 coreconfigitem('diff', 'noprefix',
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
275 default=None,
aacb17cc0ee4 configitems: register the 'diff.*' config
Boris Feld <boris.feld@octobus.net>
parents: 34520
diff changeset
276 )
34597
76d48132eb01 configitems: register the 'email.bcc' config
Boris Feld <boris.feld@octobus.net>
parents: 34596
diff changeset
277 coreconfigitem('email', 'bcc',
76d48132eb01 configitems: register the 'email.bcc' config
Boris Feld <boris.feld@octobus.net>
parents: 34596
diff changeset
278 default=None,
76d48132eb01 configitems: register the 'email.bcc' config
Boris Feld <boris.feld@octobus.net>
parents: 34596
diff changeset
279 )
34598
0a68c615706c configitems: register the 'email.cc' config
Boris Feld <boris.feld@octobus.net>
parents: 34597
diff changeset
280 coreconfigitem('email', 'cc',
0a68c615706c configitems: register the 'email.cc' config
Boris Feld <boris.feld@octobus.net>
parents: 34597
diff changeset
281 default=None,
0a68c615706c configitems: register the 'email.cc' config
Boris Feld <boris.feld@octobus.net>
parents: 34597
diff changeset
282 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
283 coreconfigitem('email', 'charsets',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
284 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
285 )
34478
ef303daefdf7 configitems: register the 'email.from' config
Boris Feld <boris.feld@octobus.net>
parents: 34477
diff changeset
286 coreconfigitem('email', 'from',
ef303daefdf7 configitems: register the 'email.from' config
Boris Feld <boris.feld@octobus.net>
parents: 34477
diff changeset
287 default=None,
ef303daefdf7 configitems: register the 'email.from' config
Boris Feld <boris.feld@octobus.net>
parents: 34477
diff changeset
288 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
289 coreconfigitem('email', 'method',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
290 default='smtp',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
291 )
34599
263a736aed9b configitems: register the 'email.reply-to' config
Boris Feld <boris.feld@octobus.net>
parents: 34598
diff changeset
292 coreconfigitem('email', 'reply-to',
263a736aed9b configitems: register the 'email.reply-to' config
Boris Feld <boris.feld@octobus.net>
parents: 34598
diff changeset
293 default=None,
263a736aed9b configitems: register the 'email.reply-to' config
Boris Feld <boris.feld@octobus.net>
parents: 34598
diff changeset
294 )
34490
fcf6d1651ff3 configitems: register the 'experimental.allowdivergence' config
Boris Feld <boris.feld@octobus.net>
parents: 34480
diff changeset
295 coreconfigitem('experimental', 'allowdivergence',
fcf6d1651ff3 configitems: register the 'experimental.allowdivergence' config
Boris Feld <boris.feld@octobus.net>
parents: 34480
diff changeset
296 default=False,
fcf6d1651ff3 configitems: register the 'experimental.allowdivergence' config
Boris Feld <boris.feld@octobus.net>
parents: 34480
diff changeset
297 )
34615
32166736684e configitems: register the 'experimental.archivemetatemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 34613
diff changeset
298 coreconfigitem('experimental', 'archivemetatemplate',
32166736684e configitems: register the 'experimental.archivemetatemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 34613
diff changeset
299 default=dynamicdefault,
32166736684e configitems: register the 'experimental.archivemetatemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 34613
diff changeset
300 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
301 coreconfigitem('experimental', 'bundle-phases',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
302 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
303 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
304 coreconfigitem('experimental', 'bundle2-advertise',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
305 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
306 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
307 coreconfigitem('experimental', 'bundle2-output-capture',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
308 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
309 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
310 coreconfigitem('experimental', 'bundle2.pushback',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
311 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
312 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
313 coreconfigitem('experimental', 'bundle2lazylocking',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
314 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
315 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
316 coreconfigitem('experimental', 'bundlecomplevel',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
317 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
318 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
319 coreconfigitem('experimental', 'changegroup3',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
320 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
321 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
322 coreconfigitem('experimental', 'clientcompressionengines',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
323 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
324 )
34077
26531db4647a copytrace: replace experimental.disablecopytrace config with copytrace (BC)
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34005
diff changeset
325 coreconfigitem('experimental', 'copytrace',
26531db4647a copytrace: replace experimental.disablecopytrace config with copytrace (BC)
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34005
diff changeset
326 default='on',
26531db4647a copytrace: replace experimental.disablecopytrace config with copytrace (BC)
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34005
diff changeset
327 )
34311
1826d695ad58 copytrace: add a a new config to limit the number of drafts in heuristics
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34286
diff changeset
328 coreconfigitem('experimental', 'copytrace.sourcecommitlimit',
1826d695ad58 copytrace: add a a new config to limit the number of drafts in heuristics
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34286
diff changeset
329 default=100,
1826d695ad58 copytrace: add a a new config to limit the number of drafts in heuristics
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34286
diff changeset
330 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
331 coreconfigitem('experimental', 'crecordtest',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
332 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
333 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
334 coreconfigitem('experimental', 'editortmpinhg',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
335 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
336 )
34519
0314e02efa25 configitems: register the 'experimental.maxdeltachainspan' config
Boris Feld <boris.feld@octobus.net>
parents: 34491
diff changeset
337 coreconfigitem('experimental', 'maxdeltachainspan',
0314e02efa25 configitems: register the 'experimental.maxdeltachainspan' config
Boris Feld <boris.feld@octobus.net>
parents: 34491
diff changeset
338 default=-1,
0314e02efa25 configitems: register the 'experimental.maxdeltachainspan' config
Boris Feld <boris.feld@octobus.net>
parents: 34491
diff changeset
339 )
34520
ca5b833ce756 configitems: register the 'experimental.mmapindexthreshold' config
Boris Feld <boris.feld@octobus.net>
parents: 34519
diff changeset
340 coreconfigitem('experimental', 'mmapindexthreshold',
ca5b833ce756 configitems: register the 'experimental.mmapindexthreshold' config
Boris Feld <boris.feld@octobus.net>
parents: 34519
diff changeset
341 default=None,
ca5b833ce756 configitems: register the 'experimental.mmapindexthreshold' config
Boris Feld <boris.feld@octobus.net>
parents: 34519
diff changeset
342 )
34491
eb1517776f8a configitems: register the 'experimental.nonnormalparanoidcheck' config
Boris Feld <boris.feld@octobus.net>
parents: 34490
diff changeset
343 coreconfigitem('experimental', 'nonnormalparanoidcheck',
eb1517776f8a configitems: register the 'experimental.nonnormalparanoidcheck' config
Boris Feld <boris.feld@octobus.net>
parents: 34490
diff changeset
344 default=False,
eb1517776f8a configitems: register the 'experimental.nonnormalparanoidcheck' config
Boris Feld <boris.feld@octobus.net>
parents: 34490
diff changeset
345 )
33772
d434a7f0685c config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents: 33771
diff changeset
346 coreconfigitem('experimental', 'stabilization',
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
347 default=list,
33772
d434a7f0685c config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents: 33771
diff changeset
348 alias=[('experimental', 'evolution')],
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
349 )
33772
d434a7f0685c config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents: 33771
diff changeset
350 coreconfigitem('experimental', 'stabilization.bundle-obsmarker',
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
351 default=False,
33772
d434a7f0685c config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents: 33771
diff changeset
352 alias=[('experimental', 'evolution.bundle-obsmarker')],
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
353 )
33772
d434a7f0685c config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents: 33771
diff changeset
354 coreconfigitem('experimental', 'stabilization.track-operation',
34286
ecc96506c49d obsmarker: track operation by default
Martin von Zweigbergk <martinvonz@google.com>
parents: 34247
diff changeset
355 default=True,
33772
d434a7f0685c config: rename evolution config into stabilization
Boris Feld <boris.feld@octobus.net>
parents: 33771
diff changeset
356 alias=[('experimental', 'evolution.track-operation')]
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
357 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
358 coreconfigitem('experimental', 'exportableenviron',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
359 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
360 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
361 coreconfigitem('experimental', 'extendedheader.index',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
362 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
363 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
364 coreconfigitem('experimental', 'extendedheader.similarity',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
365 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
366 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
367 coreconfigitem('experimental', 'format.compression',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
368 default='zlib',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
369 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
370 coreconfigitem('experimental', 'graphshorten',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
371 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
372 )
34527
d5362671993b configitems: register the 'experimental.graphstyle.parent' config
Boris Feld <boris.feld@octobus.net>
parents: 34526
diff changeset
373 coreconfigitem('experimental', 'graphstyle.parent',
d5362671993b configitems: register the 'experimental.graphstyle.parent' config
Boris Feld <boris.feld@octobus.net>
parents: 34526
diff changeset
374 default=dynamicdefault,
d5362671993b configitems: register the 'experimental.graphstyle.parent' config
Boris Feld <boris.feld@octobus.net>
parents: 34526
diff changeset
375 )
34528
23783463d720 configitems: register the 'experimental.graphstyle.missing' config
Boris Feld <boris.feld@octobus.net>
parents: 34527
diff changeset
376 coreconfigitem('experimental', 'graphstyle.missing',
23783463d720 configitems: register the 'experimental.graphstyle.missing' config
Boris Feld <boris.feld@octobus.net>
parents: 34527
diff changeset
377 default=dynamicdefault,
23783463d720 configitems: register the 'experimental.graphstyle.missing' config
Boris Feld <boris.feld@octobus.net>
parents: 34527
diff changeset
378 )
34529
4a6a337f9c68 configitems: register the 'experimental.graphstyle.grandparent' config
Boris Feld <boris.feld@octobus.net>
parents: 34528
diff changeset
379 coreconfigitem('experimental', 'graphstyle.grandparent',
4a6a337f9c68 configitems: register the 'experimental.graphstyle.grandparent' config
Boris Feld <boris.feld@octobus.net>
parents: 34528
diff changeset
380 default=dynamicdefault,
4a6a337f9c68 configitems: register the 'experimental.graphstyle.grandparent' config
Boris Feld <boris.feld@octobus.net>
parents: 34528
diff changeset
381 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
382 coreconfigitem('experimental', 'hook-track-tags',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
383 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
384 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
385 coreconfigitem('experimental', 'httppostargs',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
386 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
387 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
388 coreconfigitem('experimental', 'manifestv2',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
389 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
390 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
391 coreconfigitem('experimental', 'mergedriver',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
392 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
393 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
394 coreconfigitem('experimental', 'obsmarkers-exchange-debug',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
395 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
396 )
34005
5e83a8fe6bc4 rebase: initial support for multiple destinations
Jun Wu <quark@fb.com>
parents: 33835
diff changeset
397 coreconfigitem('experimental', 'rebase.multidest',
5e83a8fe6bc4 rebase: initial support for multiple destinations
Jun Wu <quark@fb.com>
parents: 33835
diff changeset
398 default=False,
5e83a8fe6bc4 rebase: initial support for multiple destinations
Jun Wu <quark@fb.com>
parents: 33835
diff changeset
399 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
400 coreconfigitem('experimental', 'revertalternateinteractivemode',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
401 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
402 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
403 coreconfigitem('experimental', 'revlogv2',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
404 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
405 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
406 coreconfigitem('experimental', 'spacemovesdown',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
407 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
408 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
409 coreconfigitem('experimental', 'treemanifest',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
410 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
411 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
412 coreconfigitem('experimental', 'updatecheck',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
413 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
414 )
34667
23f891164e59 configitems: register the 'extensions' section
Boris Feld <boris.feld@octobus.net>
parents: 34666
diff changeset
415 coreconfigitem('extensions', '.*',
23f891164e59 configitems: register the 'extensions' section
Boris Feld <boris.feld@octobus.net>
parents: 34666
diff changeset
416 default=None,
23f891164e59 configitems: register the 'extensions' section
Boris Feld <boris.feld@octobus.net>
parents: 34666
diff changeset
417 generic=True,
23f891164e59 configitems: register the 'extensions' section
Boris Feld <boris.feld@octobus.net>
parents: 34666
diff changeset
418 )
33235
b838e857439d configitems: register the 'format.aggressivemergedeltas' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33234
diff changeset
419 coreconfigitem('format', 'aggressivemergedeltas',
b838e857439d configitems: register the 'format.aggressivemergedeltas' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33234
diff changeset
420 default=False,
b838e857439d configitems: register the 'format.aggressivemergedeltas' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33234
diff changeset
421 )
33236
cf6c478bc339 configitems: register the 'format.chunkcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33235
diff changeset
422 coreconfigitem('format', 'chunkcachesize',
cf6c478bc339 configitems: register the 'format.chunkcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33235
diff changeset
423 default=None,
cf6c478bc339 configitems: register the 'format.chunkcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33235
diff changeset
424 )
33237
7043e67cc9b2 configitems: register the 'format.dotencode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33236
diff changeset
425 coreconfigitem('format', 'dotencode',
7043e67cc9b2 configitems: register the 'format.dotencode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33236
diff changeset
426 default=True,
7043e67cc9b2 configitems: register the 'format.dotencode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33236
diff changeset
427 )
33238
784f2bd96d43 configitems: register the 'format.generaldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33237
diff changeset
428 coreconfigitem('format', 'generaldelta',
784f2bd96d43 configitems: register the 'format.generaldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33237
diff changeset
429 default=False,
784f2bd96d43 configitems: register the 'format.generaldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33237
diff changeset
430 )
33239
a4f6dee1b9f1 configitems: register the 'format.manifestcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33238
diff changeset
431 coreconfigitem('format', 'manifestcachesize',
a4f6dee1b9f1 configitems: register the 'format.manifestcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33238
diff changeset
432 default=None,
a4f6dee1b9f1 configitems: register the 'format.manifestcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33238
diff changeset
433 )
33240
91c1e7c974c2 configitems: register the 'format.maxchainlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33239
diff changeset
434 coreconfigitem('format', 'maxchainlen',
91c1e7c974c2 configitems: register the 'format.maxchainlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33239
diff changeset
435 default=None,
91c1e7c974c2 configitems: register the 'format.maxchainlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33239
diff changeset
436 )
33244
fd50788a2d4f configitems: register the 'format.obsstore-version' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33240
diff changeset
437 coreconfigitem('format', 'obsstore-version',
fd50788a2d4f configitems: register the 'format.obsstore-version' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33240
diff changeset
438 default=None,
fd50788a2d4f configitems: register the 'format.obsstore-version' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33240
diff changeset
439 )
33245
28e8983d9ed7 configitems: register the 'format.usefncache' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33244
diff changeset
440 coreconfigitem('format', 'usefncache',
28e8983d9ed7 configitems: register the 'format.usefncache' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33244
diff changeset
441 default=True,
28e8983d9ed7 configitems: register the 'format.usefncache' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33244
diff changeset
442 )
33246
4d9458e06ef0 configitems: register the 'format.usegeneraldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33245
diff changeset
443 coreconfigitem('format', 'usegeneraldelta',
4d9458e06ef0 configitems: register the 'format.usegeneraldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33245
diff changeset
444 default=True,
4d9458e06ef0 configitems: register the 'format.usegeneraldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33245
diff changeset
445 )
33247
4d5d493ea54a configitems: register the 'format.usestore' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33246
diff changeset
446 coreconfigitem('format', 'usestore',
4d5d493ea54a configitems: register the 'format.usestore' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33246
diff changeset
447 default=True,
4d5d493ea54a configitems: register the 'format.usestore' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33246
diff changeset
448 )
33217
f96c2f2f559b configitems: register the 'hostsecurity.ciphers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33184
diff changeset
449 coreconfigitem('hostsecurity', 'ciphers',
f96c2f2f559b configitems: register the 'hostsecurity.ciphers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33184
diff changeset
450 default=None,
f96c2f2f559b configitems: register the 'hostsecurity.ciphers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33184
diff changeset
451 )
33218
24f3ff50736d configitems: register the 'hostsecurity.disabletls10warning' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33217
diff changeset
452 coreconfigitem('hostsecurity', 'disabletls10warning',
24f3ff50736d configitems: register the 'hostsecurity.disabletls10warning' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33217
diff changeset
453 default=False,
24f3ff50736d configitems: register the 'hostsecurity.disabletls10warning' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33217
diff changeset
454 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
455 coreconfigitem('http_proxy', 'always',
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('http_proxy', 'host',
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 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
461 coreconfigitem('http_proxy', 'no',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
462 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
463 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
464 coreconfigitem('http_proxy', 'passwd',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
465 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
466 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
467 coreconfigitem('http_proxy', 'user',
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 )
34592
e7dbccabc982 configitems: register the 'logtoprocess.commandexception' config
Boris Feld <boris.feld@octobus.net>
parents: 34591
diff changeset
470 coreconfigitem('logtoprocess', 'commandexception',
e7dbccabc982 configitems: register the 'logtoprocess.commandexception' config
Boris Feld <boris.feld@octobus.net>
parents: 34591
diff changeset
471 default=None,
e7dbccabc982 configitems: register the 'logtoprocess.commandexception' config
Boris Feld <boris.feld@octobus.net>
parents: 34591
diff changeset
472 )
34593
10f8f20e0137 configitems: register the 'logtoprocess.commandfinish' config
Boris Feld <boris.feld@octobus.net>
parents: 34592
diff changeset
473 coreconfigitem('logtoprocess', 'commandfinish',
10f8f20e0137 configitems: register the 'logtoprocess.commandfinish' config
Boris Feld <boris.feld@octobus.net>
parents: 34592
diff changeset
474 default=None,
10f8f20e0137 configitems: register the 'logtoprocess.commandfinish' config
Boris Feld <boris.feld@octobus.net>
parents: 34592
diff changeset
475 )
34594
728ecab6634b configitems: register the 'logtoprocess.command' config
Boris Feld <boris.feld@octobus.net>
parents: 34593
diff changeset
476 coreconfigitem('logtoprocess', 'command',
728ecab6634b configitems: register the 'logtoprocess.command' config
Boris Feld <boris.feld@octobus.net>
parents: 34593
diff changeset
477 default=None,
728ecab6634b configitems: register the 'logtoprocess.command' config
Boris Feld <boris.feld@octobus.net>
parents: 34593
diff changeset
478 )
34595
54d916833ca5 configitems: register the 'logtoprocess.develwarn' config
Boris Feld <boris.feld@octobus.net>
parents: 34594
diff changeset
479 coreconfigitem('logtoprocess', 'develwarn',
54d916833ca5 configitems: register the 'logtoprocess.develwarn' config
Boris Feld <boris.feld@octobus.net>
parents: 34594
diff changeset
480 default=None,
54d916833ca5 configitems: register the 'logtoprocess.develwarn' config
Boris Feld <boris.feld@octobus.net>
parents: 34594
diff changeset
481 )
34596
c2dea46d0f23 configitems: register the 'logtoprocess.uiblocked' config
Boris Feld <boris.feld@octobus.net>
parents: 34595
diff changeset
482 coreconfigitem('logtoprocess', 'uiblocked',
c2dea46d0f23 configitems: register the 'logtoprocess.uiblocked' config
Boris Feld <boris.feld@octobus.net>
parents: 34595
diff changeset
483 default=None,
c2dea46d0f23 configitems: register the 'logtoprocess.uiblocked' config
Boris Feld <boris.feld@octobus.net>
parents: 34595
diff changeset
484 )
34522
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
485 coreconfigitem('merge', 'checkunknown',
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
486 default='abort',
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
487 )
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
488 coreconfigitem('merge', 'checkignored',
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
489 default='abort',
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
490 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
491 coreconfigitem('merge', 'followcopies',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
492 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
493 )
34479
99c3dee3f6ce configitems: register the 'merge.preferancestor' config
Boris Feld <boris.feld@octobus.net>
parents: 34478
diff changeset
494 coreconfigitem('merge', 'preferancestor',
99c3dee3f6ce configitems: register the 'merge.preferancestor' config
Boris Feld <boris.feld@octobus.net>
parents: 34478
diff changeset
495 default=lambda: ['*'],
99c3dee3f6ce configitems: register the 'merge.preferancestor' config
Boris Feld <boris.feld@octobus.net>
parents: 34478
diff changeset
496 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
497 coreconfigitem('pager', 'ignore',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
498 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
499 )
34591
f00eef0922ff configitems: register the 'pager.pager' config
Boris Feld <boris.feld@octobus.net>
parents: 34590
diff changeset
500 coreconfigitem('pager', 'pager',
f00eef0922ff configitems: register the 'pager.pager' config
Boris Feld <boris.feld@octobus.net>
parents: 34590
diff changeset
501 default=dynamicdefault,
f00eef0922ff configitems: register the 'pager.pager' config
Boris Feld <boris.feld@octobus.net>
parents: 34590
diff changeset
502 )
33229
dd50a370c8cb configitems: register the 'patch.eol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33228
diff changeset
503 coreconfigitem('patch', 'eol',
dd50a370c8cb configitems: register the 'patch.eol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33228
diff changeset
504 default='strict',
dd50a370c8cb configitems: register the 'patch.eol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33228
diff changeset
505 )
32990
1d5d7e2b7ab5 configitems: register 'patch.fuzz' as first example for 'configint'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32986
diff changeset
506 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
507 default=2,
1d5d7e2b7ab5 configitems: register 'patch.fuzz' as first example for 'configint'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32986
diff changeset
508 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
509 coreconfigitem('paths', 'default',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
510 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
511 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
512 coreconfigitem('paths', 'default-push',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
513 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
514 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
515 coreconfigitem('phases', 'checksubrepos',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
516 default='follow',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
517 )
34476
9d78dfc78d93 configitems: register the 'phases.new-commit' config
Boris Feld <boris.feld@octobus.net>
parents: 34412
diff changeset
518 coreconfigitem('phases', 'new-commit',
34563
1faa34347b24 configitems: update default value of 'phases.new-commit'
Boris Feld <boris.feld@octobus.net>
parents: 34529
diff changeset
519 default='draft',
34476
9d78dfc78d93 configitems: register the 'phases.new-commit' config
Boris Feld <boris.feld@octobus.net>
parents: 34412
diff changeset
520 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
521 coreconfigitem('phases', 'publish',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
522 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
523 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
524 coreconfigitem('profiling', 'enabled',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
525 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
526 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
527 coreconfigitem('profiling', 'format',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
528 default='text',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
529 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
530 coreconfigitem('profiling', 'freq',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
531 default=1000,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
532 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
533 coreconfigitem('profiling', 'limit',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
534 default=30,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
535 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
536 coreconfigitem('profiling', 'nested',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
537 default=0,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
538 )
34409
7de145167ae7 configitems: register the 'profiling.output' config
Boris Feld <boris.feld@octobus.net>
parents: 34314
diff changeset
539 coreconfigitem('profiling', 'output',
7de145167ae7 configitems: register the 'profiling.output' config
Boris Feld <boris.feld@octobus.net>
parents: 34314
diff changeset
540 default=None,
7de145167ae7 configitems: register the 'profiling.output' config
Boris Feld <boris.feld@octobus.net>
parents: 34314
diff changeset
541 )
34410
fecea78ff2af configitems: register the 'profiling.showmax' config
Boris Feld <boris.feld@octobus.net>
parents: 34409
diff changeset
542 coreconfigitem('profiling', 'showmax',
fecea78ff2af configitems: register the 'profiling.showmax' config
Boris Feld <boris.feld@octobus.net>
parents: 34409
diff changeset
543 default=0.999,
fecea78ff2af configitems: register the 'profiling.showmax' config
Boris Feld <boris.feld@octobus.net>
parents: 34409
diff changeset
544 )
34411
f5c16e6507e8 configitems: register the 'profiling.showmin' config
Boris Feld <boris.feld@octobus.net>
parents: 34410
diff changeset
545 coreconfigitem('profiling', 'showmin',
f5c16e6507e8 configitems: register the 'profiling.showmin' config
Boris Feld <boris.feld@octobus.net>
parents: 34410
diff changeset
546 default=dynamicdefault,
f5c16e6507e8 configitems: register the 'profiling.showmin' config
Boris Feld <boris.feld@octobus.net>
parents: 34410
diff changeset
547 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
548 coreconfigitem('profiling', 'sort',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
549 default='inlinetime',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
550 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
551 coreconfigitem('profiling', 'statformat',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
552 default='hotpath',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
553 )
34412
83dfbda40e67 configitems: register the 'profiling.type' config
Boris Feld <boris.feld@octobus.net>
parents: 34411
diff changeset
554 coreconfigitem('profiling', 'type',
83dfbda40e67 configitems: register the 'profiling.type' config
Boris Feld <boris.feld@octobus.net>
parents: 34411
diff changeset
555 default='stat',
83dfbda40e67 configitems: register the 'profiling.type' config
Boris Feld <boris.feld@octobus.net>
parents: 34411
diff changeset
556 )
33248
be00b61e4c4a configitems: register the 'progress.assume-tty' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33247
diff changeset
557 coreconfigitem('progress', 'assume-tty',
be00b61e4c4a configitems: register the 'progress.assume-tty' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33247
diff changeset
558 default=False,
be00b61e4c4a configitems: register the 'progress.assume-tty' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33247
diff changeset
559 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
560 coreconfigitem('progress', 'changedelay',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
561 default=1,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
562 )
33249
391da1416038 configitems: register the 'progress.clear-complete' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33248
diff changeset
563 coreconfigitem('progress', 'clear-complete',
391da1416038 configitems: register the 'progress.clear-complete' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33248
diff changeset
564 default=True,
391da1416038 configitems: register the 'progress.clear-complete' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33248
diff changeset
565 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
566 coreconfigitem('progress', 'debug',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
567 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
568 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
569 coreconfigitem('progress', 'delay',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
570 default=3,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
571 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
572 coreconfigitem('progress', 'disable',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
573 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
574 )
34314
a667f0ca1d5f progress: make ETA only consider progress made in the last minute
Jun Wu <quark@fb.com>
parents: 34313
diff changeset
575 coreconfigitem('progress', 'estimateinterval',
a667f0ca1d5f progress: make ETA only consider progress made in the last minute
Jun Wu <quark@fb.com>
parents: 34313
diff changeset
576 default=60.0,
a667f0ca1d5f progress: make ETA only consider progress made in the last minute
Jun Wu <quark@fb.com>
parents: 34313
diff changeset
577 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
578 coreconfigitem('progress', 'refresh',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
579 default=0.1,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
580 )
33473
b78c59e41a65 configitems: register the 'progress.width' config
Boris Feld <boris.feld@octobus.net>
parents: 33472
diff changeset
581 coreconfigitem('progress', 'width',
b78c59e41a65 configitems: register the 'progress.width' config
Boris Feld <boris.feld@octobus.net>
parents: 33472
diff changeset
582 default=dynamicdefault,
b78c59e41a65 configitems: register the 'progress.width' config
Boris Feld <boris.feld@octobus.net>
parents: 33472
diff changeset
583 )
33835
057d31ceace3 pushvars: add a coreconfigitem for push.pushvars.server
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33772
diff changeset
584 coreconfigitem('push', 'pushvars.server',
057d31ceace3 pushvars: add a coreconfigitem for push.pushvars.server
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33772
diff changeset
585 default=False,
057d31ceace3 pushvars: add a coreconfigitem for push.pushvars.server
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33772
diff changeset
586 )
33219
ffb1d0f541f5 configitems: register the 'server.bundle1' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33218
diff changeset
587 coreconfigitem('server', 'bundle1',
ffb1d0f541f5 configitems: register the 'server.bundle1' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33218
diff changeset
588 default=True,
ffb1d0f541f5 configitems: register the 'server.bundle1' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33218
diff changeset
589 )
33220
40861b2254a5 configitems: register the 'server.bundle1gd' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33219
diff changeset
590 coreconfigitem('server', 'bundle1gd',
40861b2254a5 configitems: register the 'server.bundle1gd' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33219
diff changeset
591 default=None,
40861b2254a5 configitems: register the 'server.bundle1gd' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33219
diff changeset
592 )
34613
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
593 coreconfigitem('server', 'bundle1.pull',
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
594 default=None,
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
595 )
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
596 coreconfigitem('server', 'bundle1gd.pull',
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
597 default=None,
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
598 )
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
599 coreconfigitem('server', 'bundle1.push',
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
600 default=None,
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
601 )
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
602 coreconfigitem('server', 'bundle1gd.push',
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
603 default=None,
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
604 )
33221
4237398c67c0 configitems: register the 'server.compressionengines' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33220
diff changeset
605 coreconfigitem('server', 'compressionengines',
4237398c67c0 configitems: register the 'server.compressionengines' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33220
diff changeset
606 default=list,
4237398c67c0 configitems: register the 'server.compressionengines' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33220
diff changeset
607 )
33222
593ad8df9dd2 configitems: register the 'server.concurrent-push-mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33221
diff changeset
608 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
609 default='strict',
593ad8df9dd2 configitems: register the 'server.concurrent-push-mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33221
diff changeset
610 )
33223
d227451ee280 configitems: register the 'server.disablefullbundle' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33222
diff changeset
611 coreconfigitem('server', 'disablefullbundle',
d227451ee280 configitems: register the 'server.disablefullbundle' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33222
diff changeset
612 default=False,
d227451ee280 configitems: register the 'server.disablefullbundle' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33222
diff changeset
613 )
33224
ab9121fda8d2 configitems: register the 'server.maxhttpheaderlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33223
diff changeset
614 coreconfigitem('server', 'maxhttpheaderlen',
ab9121fda8d2 configitems: register the 'server.maxhttpheaderlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33223
diff changeset
615 default=1024,
ab9121fda8d2 configitems: register the 'server.maxhttpheaderlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33223
diff changeset
616 )
33225
90a1b62bdc91 configitems: register the 'server.preferuncompressed' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33224
diff changeset
617 coreconfigitem('server', 'preferuncompressed',
90a1b62bdc91 configitems: register the 'server.preferuncompressed' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33224
diff changeset
618 default=False,
90a1b62bdc91 configitems: register the 'server.preferuncompressed' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33224
diff changeset
619 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
620 coreconfigitem('server', 'uncompressed',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
621 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
622 )
33226
b045344fe35e configitems: register the 'server.uncompressedallowsecret' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33225
diff changeset
623 coreconfigitem('server', 'uncompressedallowsecret',
b045344fe35e configitems: register the 'server.uncompressedallowsecret' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33225
diff changeset
624 default=False,
b045344fe35e configitems: register the 'server.uncompressedallowsecret' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33225
diff changeset
625 )
33227
86c9aa1d598f configitems: register the 'server.validate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33226
diff changeset
626 coreconfigitem('server', 'validate',
86c9aa1d598f configitems: register the 'server.validate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33226
diff changeset
627 default=False,
86c9aa1d598f configitems: register the 'server.validate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33226
diff changeset
628 )
33228
35c233975b78 configitems: register the 'server.zliblevel' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33227
diff changeset
629 coreconfigitem('server', 'zliblevel',
35c233975b78 configitems: register the 'server.zliblevel' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33227
diff changeset
630 default=-1,
35c233975b78 configitems: register the 'server.zliblevel' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33227
diff changeset
631 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
632 coreconfigitem('smtp', 'host',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
633 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
634 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
635 coreconfigitem('smtp', 'local_hostname',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
636 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
637 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
638 coreconfigitem('smtp', 'password',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
639 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
640 )
34477
a27718efb290 configitems: register the 'smtp.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34476
diff changeset
641 coreconfigitem('smtp', 'port',
a27718efb290 configitems: register the 'smtp.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34476
diff changeset
642 default=dynamicdefault,
a27718efb290 configitems: register the 'smtp.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34476
diff changeset
643 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
644 coreconfigitem('smtp', 'tls',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
645 default='none',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
646 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
647 coreconfigitem('smtp', 'username',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
648 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
649 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
650 coreconfigitem('sparse', 'missingwarning',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
651 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
652 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
653 coreconfigitem('trusted', 'groups',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
654 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
655 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
656 coreconfigitem('trusted', 'users',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
657 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
658 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
659 coreconfigitem('ui', '_usedassubrepo',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
660 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
661 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
662 coreconfigitem('ui', 'allowemptycommit',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
663 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
664 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
665 coreconfigitem('ui', 'archivemeta',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
666 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
667 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
668 coreconfigitem('ui', 'askusername',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
669 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
670 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
671 coreconfigitem('ui', 'clonebundlefallback',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
672 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
673 )
32991
03608e8d09e9 configitems: register 'ui.clonebundleprefers' as example for 'configlist'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32990
diff changeset
674 coreconfigitem('ui', 'clonebundleprefers',
33150
77e666f943a6 configitems: support callable as a default value
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33133
diff changeset
675 default=list,
32991
03608e8d09e9 configitems: register 'ui.clonebundleprefers' as example for 'configlist'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32990
diff changeset
676 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
677 coreconfigitem('ui', 'clonebundles',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
678 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
679 )
33522
62b29ca72d1a configitems: register the 'ui.color' config
Boris Feld <boris.feld@octobus.net>
parents: 33520
diff changeset
680 coreconfigitem('ui', 'color',
62b29ca72d1a configitems: register the 'ui.color' config
Boris Feld <boris.feld@octobus.net>
parents: 33520
diff changeset
681 default='auto',
62b29ca72d1a configitems: register the 'ui.color' config
Boris Feld <boris.feld@octobus.net>
parents: 33520
diff changeset
682 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
683 coreconfigitem('ui', 'commitsubrepos',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
684 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
685 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
686 coreconfigitem('ui', 'debug',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
687 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
688 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
689 coreconfigitem('ui', 'debugger',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
690 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
691 )
33519
3b7e36f7e632 configitems: register the 'ui.fallbackencoding' config
Boris Feld <boris.feld@octobus.net>
parents: 33499
diff changeset
692 coreconfigitem('ui', 'fallbackencoding',
3b7e36f7e632 configitems: register the 'ui.fallbackencoding' config
Boris Feld <boris.feld@octobus.net>
parents: 33499
diff changeset
693 default=None,
3b7e36f7e632 configitems: register the 'ui.fallbackencoding' config
Boris Feld <boris.feld@octobus.net>
parents: 33499
diff changeset
694 )
33520
6e19198cbe31 configitems: register the 'ui.forcecwd' config
Boris Feld <boris.feld@octobus.net>
parents: 33519
diff changeset
695 coreconfigitem('ui', 'forcecwd',
6e19198cbe31 configitems: register the 'ui.forcecwd' config
Boris Feld <boris.feld@octobus.net>
parents: 33519
diff changeset
696 default=None,
6e19198cbe31 configitems: register the 'ui.forcecwd' config
Boris Feld <boris.feld@octobus.net>
parents: 33519
diff changeset
697 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
698 coreconfigitem('ui', 'forcemerge',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
699 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
700 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
701 coreconfigitem('ui', 'formatdebug',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
702 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
703 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
704 coreconfigitem('ui', 'formatjson',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
705 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
706 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
707 coreconfigitem('ui', 'formatted',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
708 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
709 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
710 coreconfigitem('ui', 'graphnodetemplate',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
711 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
712 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
713 coreconfigitem('ui', 'http2debuglevel',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
714 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
715 )
33061
c41cbe98822c configitems: register 'ui.interactive'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32991
diff changeset
716 coreconfigitem('ui', 'interactive',
c41cbe98822c configitems: register 'ui.interactive'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32991
diff changeset
717 default=None,
c41cbe98822c configitems: register 'ui.interactive'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32991
diff changeset
718 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
719 coreconfigitem('ui', 'interface',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
720 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
721 )
34616
c0dabec35019 configitems: register the 'ui.interface.chunkselector' config
Boris Feld <boris.feld@octobus.net>
parents: 34615
diff changeset
722 coreconfigitem('ui', 'interface.chunkselector',
c0dabec35019 configitems: register the 'ui.interface.chunkselector' config
Boris Feld <boris.feld@octobus.net>
parents: 34615
diff changeset
723 default=None,
c0dabec35019 configitems: register the 'ui.interface.chunkselector' config
Boris Feld <boris.feld@octobus.net>
parents: 34615
diff changeset
724 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
725 coreconfigitem('ui', 'logblockedtimes',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
726 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
727 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
728 coreconfigitem('ui', 'logtemplate',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
729 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
730 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
731 coreconfigitem('ui', 'merge',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
732 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
733 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
734 coreconfigitem('ui', 'mergemarkers',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
735 default='basic',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
736 )
33523
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
737 coreconfigitem('ui', 'mergemarkertemplate',
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
738 default=('{node|short} '
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
739 '{ifeq(tags, "tip", "", '
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
740 'ifeq(tags, "", "", "{tags} "))}'
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
741 '{if(bookmarks, "{bookmarks} ")}'
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
742 '{ifeq(branch, "default", "", "{branch} ")}'
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
743 '- {author|user}: {desc|firstline}')
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
744 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
745 coreconfigitem('ui', 'nontty',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
746 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
747 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
748 coreconfigitem('ui', 'origbackuppath',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
749 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
750 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
751 coreconfigitem('ui', 'paginate',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
752 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
753 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
754 coreconfigitem('ui', 'patch',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
755 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
756 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
757 coreconfigitem('ui', 'portablefilenames',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
758 default='warn',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
759 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
760 coreconfigitem('ui', 'promptecho',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
761 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
762 )
32986
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
763 coreconfigitem('ui', 'quiet',
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
764 default=False,
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
765 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
766 coreconfigitem('ui', 'quietbookmarkmove',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
767 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
768 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
769 coreconfigitem('ui', 'remotecmd',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
770 default='hg',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
771 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
772 coreconfigitem('ui', 'report_untrusted',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
773 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
774 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
775 coreconfigitem('ui', 'rollback',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
776 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
777 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
778 coreconfigitem('ui', 'slash',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
779 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
780 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
781 coreconfigitem('ui', 'ssh',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
782 default='ssh',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
783 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
784 coreconfigitem('ui', 'statuscopies',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
785 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
786 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
787 coreconfigitem('ui', 'strict',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
788 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
789 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
790 coreconfigitem('ui', 'style',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
791 default='',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
792 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
793 coreconfigitem('ui', 'supportcontact',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
794 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
795 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
796 coreconfigitem('ui', 'textwidth',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
797 default=78,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
798 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
799 coreconfigitem('ui', 'timeout',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
800 default='600',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
801 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
802 coreconfigitem('ui', 'traceback',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
803 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
804 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
805 coreconfigitem('ui', 'tweakdefaults',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
806 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
807 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
808 coreconfigitem('ui', 'usehttp2',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
809 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
810 )
33329
e714159860fd configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents: 33250
diff changeset
811 coreconfigitem('ui', 'username',
e714159860fd configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents: 33250
diff changeset
812 alias=[('ui', 'user')]
e714159860fd configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents: 33250
diff changeset
813 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
814 coreconfigitem('ui', 'verbose',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
815 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
816 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
817 coreconfigitem('verify', 'skipflags',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
818 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
819 )
34600
2d07d20d5a78 configitems: register the 'web.allowbz2' config
Boris Feld <boris.feld@octobus.net>
parents: 34599
diff changeset
820 coreconfigitem('web', 'allowbz2',
34653
8bea493e7297 configitems: correct default values of web.allow<archtype> and web.hidden
Yuya Nishihara <yuya@tcha.org>
parents: 34618
diff changeset
821 default=False,
34600
2d07d20d5a78 configitems: register the 'web.allowbz2' config
Boris Feld <boris.feld@octobus.net>
parents: 34599
diff changeset
822 )
34601
8f4d54b74206 configitems: register the 'web.allowgz' config
Boris Feld <boris.feld@octobus.net>
parents: 34600
diff changeset
823 coreconfigitem('web', 'allowgz',
34653
8bea493e7297 configitems: correct default values of web.allow<archtype> and web.hidden
Yuya Nishihara <yuya@tcha.org>
parents: 34618
diff changeset
824 default=False,
34601
8f4d54b74206 configitems: register the 'web.allowgz' config
Boris Feld <boris.feld@octobus.net>
parents: 34600
diff changeset
825 )
34602
56816cfc4951 configitems: register the 'web.allowpull' config
Boris Feld <boris.feld@octobus.net>
parents: 34601
diff changeset
826 coreconfigitem('web', 'allowpull',
56816cfc4951 configitems: register the 'web.allowpull' config
Boris Feld <boris.feld@octobus.net>
parents: 34601
diff changeset
827 default=True,
56816cfc4951 configitems: register the 'web.allowpull' config
Boris Feld <boris.feld@octobus.net>
parents: 34601
diff changeset
828 )
34603
cc5445ced177 configitems: register the 'web.allow_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34602
diff changeset
829 coreconfigitem('web', 'allow_push',
cc5445ced177 configitems: register the 'web.allow_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34602
diff changeset
830 default=list,
cc5445ced177 configitems: register the 'web.allow_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34602
diff changeset
831 )
34604
dcd6b6625e98 configitems: register the 'web.allowzip' config
Boris Feld <boris.feld@octobus.net>
parents: 34603
diff changeset
832 coreconfigitem('web', 'allowzip',
34653
8bea493e7297 configitems: correct default values of web.allow<archtype> and web.hidden
Yuya Nishihara <yuya@tcha.org>
parents: 34618
diff changeset
833 default=False,
34604
dcd6b6625e98 configitems: register the 'web.allowzip' config
Boris Feld <boris.feld@octobus.net>
parents: 34603
diff changeset
834 )
34605
625202a44d88 configitems: register the 'web.cache' config
Boris Feld <boris.feld@octobus.net>
parents: 34604
diff changeset
835 coreconfigitem('web', 'cache',
625202a44d88 configitems: register the 'web.cache' config
Boris Feld <boris.feld@octobus.net>
parents: 34604
diff changeset
836 default=True,
625202a44d88 configitems: register the 'web.cache' config
Boris Feld <boris.feld@octobus.net>
parents: 34604
diff changeset
837 )
34606
db935a5ea364 configitems: register the 'web.contact' config
Boris Feld <boris.feld@octobus.net>
parents: 34605
diff changeset
838 coreconfigitem('web', 'contact',
db935a5ea364 configitems: register the 'web.contact' config
Boris Feld <boris.feld@octobus.net>
parents: 34605
diff changeset
839 default=None,
db935a5ea364 configitems: register the 'web.contact' config
Boris Feld <boris.feld@octobus.net>
parents: 34605
diff changeset
840 )
34607
3e6b36ba16ac configitems: register the 'web.deny_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34606
diff changeset
841 coreconfigitem('web', 'deny_push',
3e6b36ba16ac configitems: register the 'web.deny_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34606
diff changeset
842 default=list,
3e6b36ba16ac configitems: register the 'web.deny_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34606
diff changeset
843 )
34608
f12de15c5711 configitems: register the 'web.guessmime' config
Boris Feld <boris.feld@octobus.net>
parents: 34607
diff changeset
844 coreconfigitem('web', 'guessmime',
f12de15c5711 configitems: register the 'web.guessmime' config
Boris Feld <boris.feld@octobus.net>
parents: 34607
diff changeset
845 default=False,
f12de15c5711 configitems: register the 'web.guessmime' config
Boris Feld <boris.feld@octobus.net>
parents: 34607
diff changeset
846 )
34609
9d97487514c7 configitems: register the 'web.hidden' config
Boris Feld <boris.feld@octobus.net>
parents: 34608
diff changeset
847 coreconfigitem('web', 'hidden',
34653
8bea493e7297 configitems: correct default values of web.allow<archtype> and web.hidden
Yuya Nishihara <yuya@tcha.org>
parents: 34618
diff changeset
848 default=False,
34609
9d97487514c7 configitems: register the 'web.hidden' config
Boris Feld <boris.feld@octobus.net>
parents: 34608
diff changeset
849 )
34610
f3e090d0c6d6 configitems: register the 'web.labels' config
Boris Feld <boris.feld@octobus.net>
parents: 34609
diff changeset
850 coreconfigitem('web', 'labels',
f3e090d0c6d6 configitems: register the 'web.labels' config
Boris Feld <boris.feld@octobus.net>
parents: 34609
diff changeset
851 default=list,
f3e090d0c6d6 configitems: register the 'web.labels' config
Boris Feld <boris.feld@octobus.net>
parents: 34609
diff changeset
852 )
34611
c879fc7bd71f configitems: register the 'web.logoimg' config
Boris Feld <boris.feld@octobus.net>
parents: 34610
diff changeset
853 coreconfigitem('web', 'logoimg',
c879fc7bd71f configitems: register the 'web.logoimg' config
Boris Feld <boris.feld@octobus.net>
parents: 34610
diff changeset
854 default='hglogo.png',
c879fc7bd71f configitems: register the 'web.logoimg' config
Boris Feld <boris.feld@octobus.net>
parents: 34610
diff changeset
855 )
34612
c2cb6be4212f configitems: register the 'web.logourl' config
Boris Feld <boris.feld@octobus.net>
parents: 34611
diff changeset
856 coreconfigitem('web', 'logourl',
c2cb6be4212f configitems: register the 'web.logourl' config
Boris Feld <boris.feld@octobus.net>
parents: 34611
diff changeset
857 default='https://mercurial-scm.org/',
c2cb6be4212f configitems: register the 'web.logourl' config
Boris Feld <boris.feld@octobus.net>
parents: 34611
diff changeset
858 )
34227
ac96ff471c9a configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net>
parents: 34077
diff changeset
859 coreconfigitem('web', 'accesslog',
ac96ff471c9a configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net>
parents: 34077
diff changeset
860 default='-',
ac96ff471c9a configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net>
parents: 34077
diff changeset
861 )
34228
af4f0c74f8b5 configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net>
parents: 34227
diff changeset
862 coreconfigitem('web', 'address',
af4f0c74f8b5 configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net>
parents: 34227
diff changeset
863 default='',
af4f0c74f8b5 configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net>
parents: 34227
diff changeset
864 )
34229
6742e18e41f0 configitems: register the 'web.allow_archive' config
Boris Feld <boris.feld@octobus.net>
parents: 34228
diff changeset
865 coreconfigitem('web', 'allow_archive',
6742e18e41f0 configitems: register the 'web.allow_archive' config
Boris Feld <boris.feld@octobus.net>
parents: 34228
diff changeset
866 default=list,
6742e18e41f0 configitems: register the 'web.allow_archive' config
Boris Feld <boris.feld@octobus.net>
parents: 34228
diff changeset
867 )
34230
b0a567017647 configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34229
diff changeset
868 coreconfigitem('web', 'allow_read',
b0a567017647 configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34229
diff changeset
869 default=list,
b0a567017647 configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34229
diff changeset
870 )
34231
4a192d70502e configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net>
parents: 34230
diff changeset
871 coreconfigitem('web', 'baseurl',
4a192d70502e configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net>
parents: 34230
diff changeset
872 default=None,
4a192d70502e configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net>
parents: 34230
diff changeset
873 )
34232
f33904b8bb77 configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net>
parents: 34231
diff changeset
874 coreconfigitem('web', 'cacerts',
f33904b8bb77 configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net>
parents: 34231
diff changeset
875 default=None,
f33904b8bb77 configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net>
parents: 34231
diff changeset
876 )
34233
25b24a3e5a9e configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net>
parents: 34232
diff changeset
877 coreconfigitem('web', 'certificate',
25b24a3e5a9e configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net>
parents: 34232
diff changeset
878 default=None,
25b24a3e5a9e configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net>
parents: 34232
diff changeset
879 )
34234
f6d25ffc8b7f configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net>
parents: 34233
diff changeset
880 coreconfigitem('web', 'collapse',
f6d25ffc8b7f configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net>
parents: 34233
diff changeset
881 default=False,
f6d25ffc8b7f configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net>
parents: 34233
diff changeset
882 )
34235
147104631eac configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net>
parents: 34234
diff changeset
883 coreconfigitem('web', 'csp',
147104631eac configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net>
parents: 34234
diff changeset
884 default=None,
147104631eac configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net>
parents: 34234
diff changeset
885 )
34236
9becd05476b8 configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34235
diff changeset
886 coreconfigitem('web', 'deny_read',
9becd05476b8 configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34235
diff changeset
887 default=list,
9becd05476b8 configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34235
diff changeset
888 )
34237
131f8cd2c2b4 configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net>
parents: 34236
diff changeset
889 coreconfigitem('web', 'descend',
131f8cd2c2b4 configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net>
parents: 34236
diff changeset
890 default=True,
131f8cd2c2b4 configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net>
parents: 34236
diff changeset
891 )
34238
a6c18628dff1 configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net>
parents: 34237
diff changeset
892 coreconfigitem('web', 'description',
a6c18628dff1 configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net>
parents: 34237
diff changeset
893 default="",
a6c18628dff1 configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net>
parents: 34237
diff changeset
894 )
34239
344fd1fe237b configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents: 34238
diff changeset
895 coreconfigitem('web', 'encoding',
344fd1fe237b configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents: 34238
diff changeset
896 default=lambda: encoding.encoding,
344fd1fe237b configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents: 34238
diff changeset
897 )
34240
c97a750c28a5 configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net>
parents: 34239
diff changeset
898 coreconfigitem('web', 'errorlog',
c97a750c28a5 configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net>
parents: 34239
diff changeset
899 default='-',
c97a750c28a5 configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net>
parents: 34239
diff changeset
900 )
34241
98fa9183de54 configitems: register the 'web.ipv6' config
Boris Feld <boris.feld@octobus.net>
parents: 34240
diff changeset
901 coreconfigitem('web', 'ipv6',
98fa9183de54 configitems: register the 'web.ipv6' config
Boris Feld <boris.feld@octobus.net>
parents: 34240
diff changeset
902 default=False,
98fa9183de54 configitems: register the 'web.ipv6' config
Boris Feld <boris.feld@octobus.net>
parents: 34240
diff changeset
903 )
34590
95f4e5b1ec92 configitems: register the 'web.maxchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34589
diff changeset
904 coreconfigitem('web', 'maxchanges',
95f4e5b1ec92 configitems: register the 'web.maxchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34589
diff changeset
905 default=10,
95f4e5b1ec92 configitems: register the 'web.maxchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34589
diff changeset
906 )
34589
883d06211973 configitems: register the 'web.maxfiles' config
Boris Feld <boris.feld@octobus.net>
parents: 34588
diff changeset
907 coreconfigitem('web', 'maxfiles',
883d06211973 configitems: register the 'web.maxfiles' config
Boris Feld <boris.feld@octobus.net>
parents: 34588
diff changeset
908 default=10,
883d06211973 configitems: register the 'web.maxfiles' config
Boris Feld <boris.feld@octobus.net>
parents: 34588
diff changeset
909 )
34588
0d9928a67254 configitems: register the 'web.maxshortchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34587
diff changeset
910 coreconfigitem('web', 'maxshortchanges',
0d9928a67254 configitems: register the 'web.maxshortchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34587
diff changeset
911 default=60,
0d9928a67254 configitems: register the 'web.maxshortchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34587
diff changeset
912 )
34587
b50c036494dc configitems: register the 'web.motd' config
Boris Feld <boris.feld@octobus.net>
parents: 34586
diff changeset
913 coreconfigitem('web', 'motd',
b50c036494dc configitems: register the 'web.motd' config
Boris Feld <boris.feld@octobus.net>
parents: 34586
diff changeset
914 default='',
b50c036494dc configitems: register the 'web.motd' config
Boris Feld <boris.feld@octobus.net>
parents: 34586
diff changeset
915 )
34586
c364f3f73634 configitems: register the 'web.name' config
Boris Feld <boris.feld@octobus.net>
parents: 34585
diff changeset
916 coreconfigitem('web', 'name',
c364f3f73634 configitems: register the 'web.name' config
Boris Feld <boris.feld@octobus.net>
parents: 34585
diff changeset
917 default=dynamicdefault,
c364f3f73634 configitems: register the 'web.name' config
Boris Feld <boris.feld@octobus.net>
parents: 34585
diff changeset
918 )
34242
e2d633f8ee65 configitems: register the 'web.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34241
diff changeset
919 coreconfigitem('web', 'port',
e2d633f8ee65 configitems: register the 'web.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34241
diff changeset
920 default=8000,
e2d633f8ee65 configitems: register the 'web.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34241
diff changeset
921 )
34243
d24816dfdcff configitems: register the 'web.prefix' config
Boris Feld <boris.feld@octobus.net>
parents: 34242
diff changeset
922 coreconfigitem('web', 'prefix',
d24816dfdcff configitems: register the 'web.prefix' config
Boris Feld <boris.feld@octobus.net>
parents: 34242
diff changeset
923 default='',
d24816dfdcff configitems: register the 'web.prefix' config
Boris Feld <boris.feld@octobus.net>
parents: 34242
diff changeset
924 )
34585
f28c85e29afc configitems: register the 'web.push_ssl' config
Boris Feld <boris.feld@octobus.net>
parents: 34584
diff changeset
925 coreconfigitem('web', 'push_ssl',
f28c85e29afc configitems: register the 'web.push_ssl' config
Boris Feld <boris.feld@octobus.net>
parents: 34584
diff changeset
926 default=True,
f28c85e29afc configitems: register the 'web.push_ssl' config
Boris Feld <boris.feld@octobus.net>
parents: 34584
diff changeset
927 )
34244
fe5202bef5ce configitems: register the 'web.refreshinterval' config
Boris Feld <boris.feld@octobus.net>
parents: 34243
diff changeset
928 coreconfigitem('web', 'refreshinterval',
fe5202bef5ce configitems: register the 'web.refreshinterval' config
Boris Feld <boris.feld@octobus.net>
parents: 34243
diff changeset
929 default=20,
fe5202bef5ce configitems: register the 'web.refreshinterval' config
Boris Feld <boris.feld@octobus.net>
parents: 34243
diff changeset
930 )
34245
945c9816ec1d configitems: register the 'web.stripes' config
Boris Feld <boris.feld@octobus.net>
parents: 34244
diff changeset
931 coreconfigitem('web', 'stripes',
945c9816ec1d configitems: register the 'web.stripes' config
Boris Feld <boris.feld@octobus.net>
parents: 34244
diff changeset
932 default=1,
945c9816ec1d configitems: register the 'web.stripes' config
Boris Feld <boris.feld@octobus.net>
parents: 34244
diff changeset
933 )
34246
db63872e10cc configitems: register the 'web.style' config
Boris Feld <boris.feld@octobus.net>
parents: 34245
diff changeset
934 coreconfigitem('web', 'style',
db63872e10cc configitems: register the 'web.style' config
Boris Feld <boris.feld@octobus.net>
parents: 34245
diff changeset
935 default='paper',
db63872e10cc configitems: register the 'web.style' config
Boris Feld <boris.feld@octobus.net>
parents: 34245
diff changeset
936 )
34247
95f80c095804 configitems: register the 'web.templates' config
Boris Feld <boris.feld@octobus.net>
parents: 34246
diff changeset
937 coreconfigitem('web', 'templates',
95f80c095804 configitems: register the 'web.templates' config
Boris Feld <boris.feld@octobus.net>
parents: 34246
diff changeset
938 default=None,
95f80c095804 configitems: register the 'web.templates' config
Boris Feld <boris.feld@octobus.net>
parents: 34246
diff changeset
939 )
34584
bf2389b1f15e configitems: register the 'web.view' config
Boris Feld <boris.feld@octobus.net>
parents: 34575
diff changeset
940 coreconfigitem('web', 'view',
bf2389b1f15e configitems: register the 'web.view' config
Boris Feld <boris.feld@octobus.net>
parents: 34575
diff changeset
941 default='served',
bf2389b1f15e configitems: register the 'web.view' config
Boris Feld <boris.feld@octobus.net>
parents: 34575
diff changeset
942 )
33474
c514b4fb5e27 configitems: register the 'worker.backgroundclose' config
Boris Feld <boris.feld@octobus.net>
parents: 33473
diff changeset
943 coreconfigitem('worker', 'backgroundclose',
c514b4fb5e27 configitems: register the 'worker.backgroundclose' config
Boris Feld <boris.feld@octobus.net>
parents: 33473
diff changeset
944 default=dynamicdefault,
c514b4fb5e27 configitems: register the 'worker.backgroundclose' config
Boris Feld <boris.feld@octobus.net>
parents: 33473
diff changeset
945 )
33234
b62d13506860 configitems: gather comment related to 'worker.backgroundclosemaxqueue'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33233
diff changeset
946 # 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
947 # 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
948 coreconfigitem('worker', 'backgroundclosemaxqueue',
5dcbd2045dcb configitems: register the 'worker.backgroundclosemaxqueue' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33229
diff changeset
949 default=384,
5dcbd2045dcb configitems: register the 'worker.backgroundclosemaxqueue' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33229
diff changeset
950 )
33231
d19804c16710 configitems: register the 'worker.backgroundcloseminfilecount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33230
diff changeset
951 coreconfigitem('worker', 'backgroundcloseminfilecount',
d19804c16710 configitems: register the 'worker.backgroundcloseminfilecount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33230
diff changeset
952 default=2048,
d19804c16710 configitems: register the 'worker.backgroundcloseminfilecount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33230
diff changeset
953 )
33232
4531a967e7f1 configitems: register the 'worker.backgroundclosethreadcount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33231
diff changeset
954 coreconfigitem('worker', 'backgroundclosethreadcount',
4531a967e7f1 configitems: register the 'worker.backgroundclosethreadcount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33231
diff changeset
955 default=4,
4531a967e7f1 configitems: register the 'worker.backgroundclosethreadcount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33231
diff changeset
956 )
33233
c9849bec227a configitems: register the 'worker.numcpus' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33232
diff changeset
957 coreconfigitem('worker', 'numcpus',
c9849bec227a configitems: register the 'worker.numcpus' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33232
diff changeset
958 default=None,
c9849bec227a configitems: register the 'worker.numcpus' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33232
diff changeset
959 )