annotate mercurial/configitems.py @ 42742:334c1ea57136

discovery: new devel.discovery.randomize option By default, this is True, but setting it to False is a uniform way to kill all randomness in integration tests such as test-setdiscovery.t By "uniform" we mean that it can be passed to implementations in other languages, for which the monkey-patching of random.sample would be irrelevant. In the above mentioned test file, we use it right away, replacing the adhoc extension that had the same purpose, and to derandomize a case with many round-trips, that we'll need to behave uniformly in the Rust version. Differential Revision: https://phab.mercurial-scm.org/D6427
author Georges Racinet <georges.racinet@octobus.net>
date Tue, 21 May 2019 17:44:15 +0200
parents d98ec36be808
children 9f2189b6bf2a
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"""
35808
178aacdc25db configitems: traverse sections deterministically
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35763
diff changeset
20 for section, items in sorted(configtable.items()):
34768
2b954c9c5395 configitems: fix registration of extensions config
Boris Feld <boris.feld@octobus.net>
parents: 34759
diff changeset
21 knownitems = ui._knownconfig.setdefault(section, itemregister())
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
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):
34874
e3fbf8e3fef2 configitems: do not directly match generic items
Boris Feld <boris.feld@octobus.net>
parents: 34872
diff changeset
70 baseitem = super(itemregister, self).get(key)
e3fbf8e3fef2 configitems: do not directly match generic items
Boris Feld <boris.feld@octobus.net>
parents: 34872
diff changeset
71 if baseitem is not None and not baseitem.generic:
e3fbf8e3fef2 configitems: do not directly match generic items
Boris Feld <boris.feld@octobus.net>
parents: 34872
diff changeset
72 return baseitem
34662
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
73
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
74 # 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
75 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
76 for item in generics:
34875
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
77 # we use 'match' instead of 'search' to make the matching simpler
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
78 # for people unfamiliar with regular expression. Having the match
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
79 # rooted to the start of the string will produce less surprising
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
80 # result for user writing simple regex for sub-attribute.
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
81 #
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
82 # For example using "color\..*" match produces an unsurprising
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
83 # result, while using search could suddenly match apparently
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
84 # unrelated configuration that happens to contains "color."
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
85 # anywhere. This is a tradeoff where we favor requiring ".*" on
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
86 # some match to avoid the need to prefix most pattern with "^".
4f0d4bc63b8a configitems: document the choice of using 'match' instead of 'search'
Boris Feld <boris.feld@octobus.net>
parents: 34874
diff changeset
87 # The "^" seems more error prone.
34662
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
88 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
89 return item
181d913b17e6 configitems: allow for the registration of "generic" config item
Boris Feld <boris.feld@octobus.net>
parents: 34653
diff changeset
90
34874
e3fbf8e3fef2 configitems: do not directly match generic items
Boris Feld <boris.feld@octobus.net>
parents: 34872
diff changeset
91 return None
32984
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
92
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
93 coreitems = {}
6d983e8af49c configitems: introduce a central registry for config option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32983
diff changeset
94
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
95 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
96 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
97 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
98 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
99 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
100 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
101 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
102
33471
d74141ccfd8b configitems: handle case were the default value is not static
Boris Feld <boris.feld@octobus.net>
parents: 33329
diff changeset
103 # 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
104 dynamicdefault = object()
d74141ccfd8b configitems: handle case were the default value is not static
Boris Feld <boris.feld@octobus.net>
parents: 33329
diff changeset
105
32986
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
106 # Registering actual config items
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
107
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
108 def getitemregister(configtable):
34917
ee9243715c59 registrar: host "dynamicdefault" constant by configitem object
Yuya Nishihara <yuya@tcha.org>
parents: 34916
diff changeset
109 f = functools.partial(_register, configtable)
ee9243715c59 registrar: host "dynamicdefault" constant by configitem object
Yuya Nishihara <yuya@tcha.org>
parents: 34916
diff changeset
110 # export pseudo enum as configitem.*
ee9243715c59 registrar: host "dynamicdefault" constant by configitem object
Yuya Nishihara <yuya@tcha.org>
parents: 34916
diff changeset
111 f.dynamicdefault = dynamicdefault
ee9243715c59 registrar: host "dynamicdefault" constant by configitem object
Yuya Nishihara <yuya@tcha.org>
parents: 34916
diff changeset
112 return f
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
113
c2ca511c4771 configitems: extract the logic to build a registrar on any configtable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33061
diff changeset
114 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
115
41558
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
116 def _registerdiffopts(section, configprefix=''):
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
117 coreconfigitem(section, configprefix + 'nodates',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
118 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
119 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
120 coreconfigitem(section, configprefix + 'showfunc',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
121 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
122 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
123 coreconfigitem(section, configprefix + 'unified',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
124 default=None,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
125 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
126 coreconfigitem(section, configprefix + 'git',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
127 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
128 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
129 coreconfigitem(section, configprefix + 'ignorews',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
130 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
131 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
132 coreconfigitem(section, configprefix + 'ignorewsamount',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
133 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
134 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
135 coreconfigitem(section, configprefix + 'ignoreblanklines',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
136 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
137 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
138 coreconfigitem(section, configprefix + 'ignorewseol',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
139 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
140 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
141 coreconfigitem(section, configprefix + 'nobinary',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
142 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
143 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
144 coreconfigitem(section, configprefix + 'noprefix',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
145 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
146 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
147 coreconfigitem(section, configprefix + 'word-diff',
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
148 default=False,
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
149 )
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
150
34663
6de7842290b2 configitems: register the 'alias' section
Boris Feld <boris.feld@octobus.net>
parents: 34662
diff changeset
151 coreconfigitem('alias', '.*',
37134
6890b7e991a4 help: supporting both help and doc for aliases
Rodrigo Damazio <rdamazio@google.com>
parents: 37052
diff changeset
152 default=dynamicdefault,
34663
6de7842290b2 configitems: register the 'alias' section
Boris Feld <boris.feld@octobus.net>
parents: 34662
diff changeset
153 generic=True,
6de7842290b2 configitems: register the 'alias' section
Boris Feld <boris.feld@octobus.net>
parents: 34662
diff changeset
154 )
33180
21383dbb3611 configitems: register the 'auth.cookiefile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33179
diff changeset
155 coreconfigitem('auth', 'cookiefile',
21383dbb3611 configitems: register the 'auth.cookiefile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33179
diff changeset
156 default=None,
21383dbb3611 configitems: register the 'auth.cookiefile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33179
diff changeset
157 )
41558
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
158 _registerdiffopts(section='annotate')
33181
640a0760e666 configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33180
diff changeset
159 # 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
160 coreconfigitem('bookmarks', 'pushing',
640a0760e666 configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33180
diff changeset
161 default=list,
640a0760e666 configitems: register the 'bookmarks.pushing' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33180
diff changeset
162 )
33182
634997248c97 configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33181
diff changeset
163 # 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
164 coreconfigitem('bundle', 'mainreporoot',
634997248c97 configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33181
diff changeset
165 default='',
634997248c97 configitems: register the 'bundle.mainreporoot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33181
diff changeset
166 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
167 coreconfigitem('censor', 'policy',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
168 default='abort',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
169 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
170 coreconfigitem('chgserver', 'idletimeout',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
171 default=3600,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
172 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
173 coreconfigitem('chgserver', 'skiphash',
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 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
176 coreconfigitem('cmdserver', 'log',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
177 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
178 )
40827
d23fd01cc115 commandserver: add config knob for various logging options
Yuya Nishihara <yuya@tcha.org>
parents: 40786
diff changeset
179 coreconfigitem('cmdserver', 'max-log-files',
d23fd01cc115 commandserver: add config knob for various logging options
Yuya Nishihara <yuya@tcha.org>
parents: 40786
diff changeset
180 default=7,
d23fd01cc115 commandserver: add config knob for various logging options
Yuya Nishihara <yuya@tcha.org>
parents: 40786
diff changeset
181 )
d23fd01cc115 commandserver: add config knob for various logging options
Yuya Nishihara <yuya@tcha.org>
parents: 40786
diff changeset
182 coreconfigitem('cmdserver', 'max-log-size',
d23fd01cc115 commandserver: add config knob for various logging options
Yuya Nishihara <yuya@tcha.org>
parents: 40786
diff changeset
183 default='1 MB',
d23fd01cc115 commandserver: add config knob for various logging options
Yuya Nishihara <yuya@tcha.org>
parents: 40786
diff changeset
184 )
40999
dcac24ec935b commandserver: preload repository in master server and reuse its file cache
Yuya Nishihara <yuya@tcha.org>
parents: 40936
diff changeset
185 coreconfigitem('cmdserver', 'max-repo-cache',
dcac24ec935b commandserver: preload repository in master server and reuse its file cache
Yuya Nishihara <yuya@tcha.org>
parents: 40936
diff changeset
186 default=0,
dcac24ec935b commandserver: preload repository in master server and reuse its file cache
Yuya Nishihara <yuya@tcha.org>
parents: 40936
diff changeset
187 )
40589
054d0fcba2c4 commandserver: add experimental option to use separate message channel
Yuya Nishihara <yuya@tcha.org>
parents: 40547
diff changeset
188 coreconfigitem('cmdserver', 'message-encodings',
054d0fcba2c4 commandserver: add experimental option to use separate message channel
Yuya Nishihara <yuya@tcha.org>
parents: 40547
diff changeset
189 default=list,
054d0fcba2c4 commandserver: add experimental option to use separate message channel
Yuya Nishihara <yuya@tcha.org>
parents: 40547
diff changeset
190 )
40827
d23fd01cc115 commandserver: add config knob for various logging options
Yuya Nishihara <yuya@tcha.org>
parents: 40786
diff changeset
191 coreconfigitem('cmdserver', 'track-log',
40999
dcac24ec935b commandserver: preload repository in master server and reuse its file cache
Yuya Nishihara <yuya@tcha.org>
parents: 40936
diff changeset
192 default=lambda: ['chgserver', 'cmdserver', 'repocache'],
40827
d23fd01cc115 commandserver: add config knob for various logging options
Yuya Nishihara <yuya@tcha.org>
parents: 40786
diff changeset
193 )
34664
a0c2a19d64e7 configitems: register the 'color' section
Boris Feld <boris.feld@octobus.net>
parents: 34663
diff changeset
194 coreconfigitem('color', '.*',
a0c2a19d64e7 configitems: register the 'color' section
Boris Feld <boris.feld@octobus.net>
parents: 34663
diff changeset
195 default=None,
a0c2a19d64e7 configitems: register the 'color' section
Boris Feld <boris.feld@octobus.net>
parents: 34663
diff changeset
196 generic=True,
a0c2a19d64e7 configitems: register the 'color' section
Boris Feld <boris.feld@octobus.net>
parents: 34663
diff changeset
197 )
33179
95c57596b380 configitems: register the 'color.mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33177
diff changeset
198 coreconfigitem('color', 'mode',
95c57596b380 configitems: register the 'color.mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33177
diff changeset
199 default='auto',
95c57596b380 configitems: register the 'color.mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33177
diff changeset
200 )
33472
d0869a6e83ab configitems: register the 'color.pagermode' config
Boris Feld <boris.feld@octobus.net>
parents: 33471
diff changeset
201 coreconfigitem('color', 'pagermode',
d0869a6e83ab configitems: register the 'color.pagermode' config
Boris Feld <boris.feld@octobus.net>
parents: 33471
diff changeset
202 default=dynamicdefault,
d0869a6e83ab configitems: register the 'color.pagermode' config
Boris Feld <boris.feld@octobus.net>
parents: 33471
diff changeset
203 )
41560
66399f2e92aa commit: if interactive, look elsewhere for whitespace settings (BC)
Kyle Lippincott <spectral@google.com>
parents: 41558
diff changeset
204 _registerdiffopts(section='commands', configprefix='commit.interactive.')
42244
0f01394457a0 commit: add ability to print file status after each successful invocation
Anton Shestakov <av6@dwimlabs.net>
parents: 42231
diff changeset
205 coreconfigitem('commands', 'commit.post-status',
0f01394457a0 commit: add ability to print file status after each successful invocation
Anton Shestakov <av6@dwimlabs.net>
parents: 42231
diff changeset
206 default=False,
0f01394457a0 commit: add ability to print file status after each successful invocation
Anton Shestakov <av6@dwimlabs.net>
parents: 42231
diff changeset
207 )
38651
5e4027db52f4 grep: add config knob to enable/disable the default wdir search
Yuya Nishihara <yuya@tcha.org>
parents: 38633
diff changeset
208 coreconfigitem('commands', 'grep.all-files',
38652
bfcd5c7cbf9a grep: restore pre-9ef10437bb88 behavior, enable wdir search by tweakdefaults
Yuya Nishihara <yuya@tcha.org>
parents: 38651
diff changeset
209 default=False,
38651
5e4027db52f4 grep: add config knob to enable/disable the default wdir search
Yuya Nishihara <yuya@tcha.org>
parents: 38633
diff changeset
210 )
38822
f8732e33bcbc resolve: add confirm config option
Sushil khanchi <sushilkhanchi97@gmail.com>
parents: 38793
diff changeset
211 coreconfigitem('commands', 'resolve.confirm',
f8732e33bcbc resolve: add confirm config option
Sushil khanchi <sushilkhanchi97@gmail.com>
parents: 38793
diff changeset
212 default=False,
f8732e33bcbc resolve: add confirm config option
Sushil khanchi <sushilkhanchi97@gmail.com>
parents: 38793
diff changeset
213 )
39393
56469d475341 resolve: add config to make hg resolve not re-merge by default
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39298
diff changeset
214 coreconfigitem('commands', 'resolve.explicit-re-merge',
56469d475341 resolve: add config to make hg resolve not re-merge by default
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39298
diff changeset
215 default=False,
56469d475341 resolve: add config to make hg resolve not re-merge by default
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39298
diff changeset
216 )
38857
96d0795bd0bd resolve: graduate resolve.mark-check from experimental, add docs
Kyle Lippincott <spectral@google.com>
parents: 38855
diff changeset
217 coreconfigitem('commands', 'resolve.mark-check',
38873
7e75777e4a51 resolve: correct behavior of mark-check=none to match docs
Kyle Lippincott <spectral@google.com>
parents: 38857
diff changeset
218 default='none',
38857
96d0795bd0bd resolve: graduate resolve.mark-check from experimental, add docs
Kyle Lippincott <spectral@google.com>
parents: 38855
diff changeset
219 )
41560
66399f2e92aa commit: if interactive, look elsewhere for whitespace settings (BC)
Kyle Lippincott <spectral@google.com>
parents: 41558
diff changeset
220 _registerdiffopts(section='commands', configprefix='revert.interactive.')
34888
317566f0c2e6 show: move configitems to core
Jun Wu <quark@fb.com>
parents: 34885
diff changeset
221 coreconfigitem('commands', 'show.aliasprefix',
317566f0c2e6 show: move configitems to core
Jun Wu <quark@fb.com>
parents: 34885
diff changeset
222 default=list,
317566f0c2e6 show: move configitems to core
Jun Wu <quark@fb.com>
parents: 34885
diff changeset
223 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
224 coreconfigitem('commands', 'status.relative',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
225 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
226 )
33771
96f43981c1c4 morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33523
diff changeset
227 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
228 default=[],
96f43981c1c4 morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33523
diff changeset
229 )
38100
18424aeece7f status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents: 37769
diff changeset
230 coreconfigitem('commands', 'status.terse',
18424aeece7f status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents: 37769
diff changeset
231 default='',
18424aeece7f status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents: 37769
diff changeset
232 )
33771
96f43981c1c4 morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33523
diff changeset
233 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
234 default=False,
96f43981c1c4 morestatus: move fb extension to core by plugging to `hg status --verbose`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33523
diff changeset
235 )
34705
23ed47a895d5 config: graduate experimental.updatecheck to commands.update.check
Augie Fackler <augie@google.com>
parents: 34671
diff changeset
236 coreconfigitem('commands', 'update.check',
23ed47a895d5 config: graduate experimental.updatecheck to commands.update.check
Augie Fackler <augie@google.com>
parents: 34671
diff changeset
237 default=None,
23ed47a895d5 config: graduate experimental.updatecheck to commands.update.check
Augie Fackler <augie@google.com>
parents: 34671
diff changeset
238 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
239 coreconfigitem('commands', 'update.requiredest',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
240 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
241 )
34665
dd1357edff37 configitems: register the 'committemplate' section
Boris Feld <boris.feld@octobus.net>
parents: 34664
diff changeset
242 coreconfigitem('committemplate', '.*',
dd1357edff37 configitems: register the 'committemplate' section
Boris Feld <boris.feld@octobus.net>
parents: 34664
diff changeset
243 default=None,
dd1357edff37 configitems: register the 'committemplate' section
Boris Feld <boris.feld@octobus.net>
parents: 34664
diff changeset
244 generic=True,
dd1357edff37 configitems: register the 'committemplate' section
Boris Feld <boris.feld@octobus.net>
parents: 34664
diff changeset
245 )
38572
85da230c316a convert: add a config knob for not saving the bzr revision
Matt Harbison <matt_harbison@yahoo.com>
parents: 38526
diff changeset
246 coreconfigitem('convert', 'bzr.saverev',
85da230c316a convert: add a config knob for not saving the bzr revision
Matt Harbison <matt_harbison@yahoo.com>
parents: 38526
diff changeset
247 default=True,
85da230c316a convert: add a config knob for not saving the bzr revision
Matt Harbison <matt_harbison@yahoo.com>
parents: 38526
diff changeset
248 )
35036
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
249 coreconfigitem('convert', 'cvsps.cache',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
250 default=True,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
251 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
252 coreconfigitem('convert', 'cvsps.fuzz',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
253 default=60,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
254 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
255 coreconfigitem('convert', 'cvsps.logencoding',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
256 default=None,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
257 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
258 coreconfigitem('convert', 'cvsps.mergefrom',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
259 default=None,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
260 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
261 coreconfigitem('convert', 'cvsps.mergeto',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
262 default=None,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
263 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
264 coreconfigitem('convert', 'git.committeractions',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
265 default=lambda: ['messagedifferent'],
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
266 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
267 coreconfigitem('convert', 'git.extrakeys',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
268 default=list,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
269 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
270 coreconfigitem('convert', 'git.findcopiesharder',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
271 default=False,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
272 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
273 coreconfigitem('convert', 'git.remoteprefix',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
274 default='remote',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
275 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
276 coreconfigitem('convert', 'git.renamelimit',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
277 default=400,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
278 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
279 coreconfigitem('convert', 'git.saverev',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
280 default=True,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
281 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
282 coreconfigitem('convert', 'git.similarity',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
283 default=50,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
284 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
285 coreconfigitem('convert', 'git.skipsubmodules',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
286 default=False,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
287 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
288 coreconfigitem('convert', 'hg.clonebranches',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
289 default=False,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
290 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
291 coreconfigitem('convert', 'hg.ignoreerrors',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
292 default=False,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
293 )
42620
d98ec36be808 convert: add a config option to help doing identity hg->hg conversion
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 42541
diff changeset
294 coreconfigitem('convert', 'hg.preserve-hash',
d98ec36be808 convert: add a config option to help doing identity hg->hg conversion
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 42541
diff changeset
295 default=False,
d98ec36be808 convert: add a config option to help doing identity hg->hg conversion
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 42541
diff changeset
296 )
35036
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
297 coreconfigitem('convert', 'hg.revs',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
298 default=None,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
299 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
300 coreconfigitem('convert', 'hg.saverev',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
301 default=False,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
302 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
303 coreconfigitem('convert', 'hg.sourcename',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
304 default=None,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
305 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
306 coreconfigitem('convert', 'hg.startrev',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
307 default=None,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
308 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
309 coreconfigitem('convert', 'hg.tagsbranch',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
310 default='default',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
311 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
312 coreconfigitem('convert', 'hg.usebranchnames',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
313 default=True,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
314 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
315 coreconfigitem('convert', 'ignoreancestorcheck',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
316 default=False,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
317 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
318 coreconfigitem('convert', 'localtimezone',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
319 default=False,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
320 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
321 coreconfigitem('convert', 'p4.encoding',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
322 default=dynamicdefault,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
323 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
324 coreconfigitem('convert', 'p4.startrev',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
325 default=0,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
326 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
327 coreconfigitem('convert', 'skiptags',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
328 default=False,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
329 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
330 coreconfigitem('convert', 'svn.debugsvnlog',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
331 default=True,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
332 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
333 coreconfigitem('convert', 'svn.trunk',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
334 default=None,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
335 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
336 coreconfigitem('convert', 'svn.tags',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
337 default=None,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
338 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
339 coreconfigitem('convert', 'svn.branches',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
340 default=None,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
341 )
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
342 coreconfigitem('convert', 'svn.startrev',
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
343 default=0,
281214150561 convert: avoid wrong lfconvert defaults by moving configitems to core
Matt Harbison <matt_harbison@yahoo.com>
parents: 34990
diff changeset
344 )
34480
cbda631c1dde configitems: register the 'debug.dirstate.delaywrite' config
Boris Feld <boris.feld@octobus.net>
parents: 34479
diff changeset
345 coreconfigitem('debug', 'dirstate.delaywrite',
cbda631c1dde configitems: register the 'debug.dirstate.delaywrite' config
Boris Feld <boris.feld@octobus.net>
parents: 34479
diff changeset
346 default=0,
cbda631c1dde configitems: register the 'debug.dirstate.delaywrite' config
Boris Feld <boris.feld@octobus.net>
parents: 34479
diff changeset
347 )
34666
e7966337aed0 configitems: register the 'defaults' section
Boris Feld <boris.feld@octobus.net>
parents: 34665
diff changeset
348 coreconfigitem('defaults', '.*',
e7966337aed0 configitems: register the 'defaults' section
Boris Feld <boris.feld@octobus.net>
parents: 34665
diff changeset
349 default=None,
e7966337aed0 configitems: register the 'defaults' section
Boris Feld <boris.feld@octobus.net>
parents: 34665
diff changeset
350 generic=True,
e7966337aed0 configitems: register the 'defaults' section
Boris Feld <boris.feld@octobus.net>
parents: 34665
diff changeset
351 )
33158
cb7140e230c8 config: register the 'devel.all-warnings' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33150
diff changeset
352 coreconfigitem('devel', 'all-warnings',
cb7140e230c8 config: register the 'devel.all-warnings' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33150
diff changeset
353 default=False,
cb7140e230c8 config: register the 'devel.all-warnings' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33150
diff changeset
354 )
33159
0224820688ac config: register the 'devel.bundle2.debug' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33158
diff changeset
355 coreconfigitem('devel', 'bundle2.debug',
0224820688ac config: register the 'devel.bundle2.debug' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33158
diff changeset
356 default=False,
0224820688ac config: register the 'devel.bundle2.debug' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33158
diff changeset
357 )
40432
968dd7e02ac5 changegroup: allow to force delta to be against p1
Boris Feld <boris.feld@octobus.net>
parents: 40413
diff changeset
358 coreconfigitem('devel', 'bundle.delta',
968dd7e02ac5 changegroup: allow to force delta to be against p1
Boris Feld <boris.feld@octobus.net>
parents: 40413
diff changeset
359 default='',
968dd7e02ac5 changegroup: allow to force delta to be against p1
Boris Feld <boris.feld@octobus.net>
parents: 40413
diff changeset
360 )
34525
100f0ddb029b configitems: register the 'devel.cache-vfs' config
Boris Feld <boris.feld@octobus.net>
parents: 34524
diff changeset
361 coreconfigitem('devel', 'cache-vfs',
100f0ddb029b configitems: register the 'devel.cache-vfs' config
Boris Feld <boris.feld@octobus.net>
parents: 34524
diff changeset
362 default=None,
100f0ddb029b configitems: register the 'devel.cache-vfs' config
Boris Feld <boris.feld@octobus.net>
parents: 34524
diff changeset
363 )
33160
12aaade1f617 config: register the devel.check-locks config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33159
diff changeset
364 coreconfigitem('devel', 'check-locks',
12aaade1f617 config: register the devel.check-locks config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33159
diff changeset
365 default=False,
12aaade1f617 config: register the devel.check-locks config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33159
diff changeset
366 )
33161
b1cf9bb8a5a2 config: register the 'devel.check-relroot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33160
diff changeset
367 coreconfigitem('devel', 'check-relroot',
b1cf9bb8a5a2 config: register the 'devel.check-relroot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33160
diff changeset
368 default=False,
b1cf9bb8a5a2 config: register the 'devel.check-relroot' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33160
diff changeset
369 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
370 coreconfigitem('devel', 'default-date',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
371 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
372 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
373 coreconfigitem('devel', 'deprec-warn',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
374 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
375 )
33162
1ad6d6cee9eb config: register the 'devel.disableloaddefaultcerts' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33161
diff changeset
376 coreconfigitem('devel', 'disableloaddefaultcerts',
1ad6d6cee9eb config: register the 'devel.disableloaddefaultcerts' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33161
diff changeset
377 default=False,
1ad6d6cee9eb config: register the 'devel.disableloaddefaultcerts' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33161
diff changeset
378 )
34734
3572b2031cec devel-warn: add 'warn-' to 'devel.empty-changegroup' config
Boris Feld <boris.feld@octobus.net>
parents: 34705
diff changeset
379 coreconfigitem('devel', 'warn-empty-changegroup',
34526
3999b74b6765 configitems: register the 'devel.empty-changegroup' config
Boris Feld <boris.feld@octobus.net>
parents: 34525
diff changeset
380 default=False,
3999b74b6765 configitems: register the 'devel.empty-changegroup' config
Boris Feld <boris.feld@octobus.net>
parents: 34525
diff changeset
381 )
33184
649f3b0495c8 config: register the 'devel.legacy.exchange' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33183
diff changeset
382 coreconfigitem('devel', 'legacy.exchange',
649f3b0495c8 config: register the 'devel.legacy.exchange' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33183
diff changeset
383 default=list,
649f3b0495c8 config: register the 'devel.legacy.exchange' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33183
diff changeset
384 )
33163
1969adf2139a config: register the 'devel.servercafile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33162
diff changeset
385 coreconfigitem('devel', 'servercafile',
1969adf2139a config: register the 'devel.servercafile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33162
diff changeset
386 default='',
1969adf2139a config: register the 'devel.servercafile' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33162
diff changeset
387 )
33164
f15850eff735 config: register the 'devel.serverexactprotocol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33163
diff changeset
388 coreconfigitem('devel', 'serverexactprotocol',
f15850eff735 config: register the 'devel.serverexactprotocol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33163
diff changeset
389 default='',
f15850eff735 config: register the 'devel.serverexactprotocol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33163
diff changeset
390 )
33165
1a6f28439135 config: register the 'devel.serverrequirecert' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33164
diff changeset
391 coreconfigitem('devel', 'serverrequirecert',
33177
be723e2afd3d configitem: fix default value for 'serverrequirecert'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33166
diff changeset
392 default=False,
33165
1a6f28439135 config: register the 'devel.serverrequirecert' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33164
diff changeset
393 )
33166
5c9ad50fd62f config: register the 'devel.strip-obsmarkers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33165
diff changeset
394 coreconfigitem('devel', 'strip-obsmarkers',
5c9ad50fd62f config: register the 'devel.strip-obsmarkers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33165
diff changeset
395 default=True,
5c9ad50fd62f config: register the 'devel.strip-obsmarkers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33165
diff changeset
396 )
34523
486dbd6afa57 configitems: register the 'devel.warn-config' config
Boris Feld <boris.feld@octobus.net>
parents: 34522
diff changeset
397 coreconfigitem('devel', 'warn-config',
486dbd6afa57 configitems: register the 'devel.warn-config' config
Boris Feld <boris.feld@octobus.net>
parents: 34522
diff changeset
398 default=None,
486dbd6afa57 configitems: register the 'devel.warn-config' config
Boris Feld <boris.feld@octobus.net>
parents: 34522
diff changeset
399 )
34524
99c5922b1641 configitems: register the 'devel.warn-config-default' config
Boris Feld <boris.feld@octobus.net>
parents: 34523
diff changeset
400 coreconfigitem('devel', 'warn-config-default',
99c5922b1641 configitems: register the 'devel.warn-config-default' config
Boris Feld <boris.feld@octobus.net>
parents: 34523
diff changeset
401 default=None,
99c5922b1641 configitems: register the 'devel.warn-config-default' config
Boris Feld <boris.feld@octobus.net>
parents: 34523
diff changeset
402 )
34575
dc91580a0a88 obsolete: add a devel.user.obsmarker
Boris Feld <boris.feld@octobus.net>
parents: 34563
diff changeset
403 coreconfigitem('devel', 'user.obsmarker',
dc91580a0a88 obsolete: add a devel.user.obsmarker
Boris Feld <boris.feld@octobus.net>
parents: 34563
diff changeset
404 default=None,
dc91580a0a88 obsolete: add a devel.user.obsmarker
Boris Feld <boris.feld@octobus.net>
parents: 34563
diff changeset
405 )
34858
85a2db47ad50 configitems: adds a developer warning when accessing undeclared configuration
Boris Feld <boris.feld@octobus.net>
parents: 34846
diff changeset
406 coreconfigitem('devel', 'warn-config-unknown',
85a2db47ad50 configitems: adds a developer warning when accessing undeclared configuration
Boris Feld <boris.feld@octobus.net>
parents: 34846
diff changeset
407 default=None,
85a2db47ad50 configitems: adds a developer warning when accessing undeclared configuration
Boris Feld <boris.feld@octobus.net>
parents: 34846
diff changeset
408 )
40057
25b2868206e2 copies: add a devel debug mode to trace what copy tracing does
Boris Feld <boris.feld@octobus.net>
parents: 40043
diff changeset
409 coreconfigitem('devel', 'debug.copies',
25b2868206e2 copies: add a devel debug mode to trace what copy tracing does
Boris Feld <boris.feld@octobus.net>
parents: 40043
diff changeset
410 default=False,
25b2868206e2 copies: add a devel debug mode to trace what copy tracing does
Boris Feld <boris.feld@octobus.net>
parents: 40043
diff changeset
411 )
38727
fcb517ff9562 debug: move extensions debug behind a dedicated flag
Boris Feld <boris.feld@octobus.net>
parents: 38717
diff changeset
412 coreconfigitem('devel', 'debug.extensions',
fcb517ff9562 debug: move extensions debug behind a dedicated flag
Boris Feld <boris.feld@octobus.net>
parents: 38717
diff changeset
413 default=False,
fcb517ff9562 debug: move extensions debug behind a dedicated flag
Boris Feld <boris.feld@octobus.net>
parents: 38717
diff changeset
414 )
35698
0c4b23ccf1a5 httppeer: add support for tracing all http request made by the peer
Boris Feld <boris.feld@octobus.net>
parents: 35496
diff changeset
415 coreconfigitem('devel', 'debug.peer-request',
0c4b23ccf1a5 httppeer: add support for tracing all http request made by the peer
Boris Feld <boris.feld@octobus.net>
parents: 35496
diff changeset
416 default=False,
0c4b23ccf1a5 httppeer: add support for tracing all http request made by the peer
Boris Feld <boris.feld@octobus.net>
parents: 35496
diff changeset
417 )
42742
334c1ea57136 discovery: new devel.discovery.randomize option
Georges Racinet <georges.racinet@octobus.net>
parents: 42620
diff changeset
418 coreconfigitem('devel', 'discovery.randomize',
334c1ea57136 discovery: new devel.discovery.randomize option
Georges Racinet <georges.racinet@octobus.net>
parents: 42620
diff changeset
419 default=True,
334c1ea57136 discovery: new devel.discovery.randomize option
Georges Racinet <georges.racinet@octobus.net>
parents: 42620
diff changeset
420 )
41558
901ebc81ffb3 config: extract diff-related coreconfigitem()s to a helper method
Kyle Lippincott <spectral@google.com>
parents: 41538
diff changeset
421 _registerdiffopts(section='diff')
34597
76d48132eb01 configitems: register the 'email.bcc' config
Boris Feld <boris.feld@octobus.net>
parents: 34596
diff changeset
422 coreconfigitem('email', 'bcc',
76d48132eb01 configitems: register the 'email.bcc' config
Boris Feld <boris.feld@octobus.net>
parents: 34596
diff changeset
423 default=None,
76d48132eb01 configitems: register the 'email.bcc' config
Boris Feld <boris.feld@octobus.net>
parents: 34596
diff changeset
424 )
34598
0a68c615706c configitems: register the 'email.cc' config
Boris Feld <boris.feld@octobus.net>
parents: 34597
diff changeset
425 coreconfigitem('email', 'cc',
0a68c615706c configitems: register the 'email.cc' config
Boris Feld <boris.feld@octobus.net>
parents: 34597
diff changeset
426 default=None,
0a68c615706c configitems: register the 'email.cc' config
Boris Feld <boris.feld@octobus.net>
parents: 34597
diff changeset
427 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
428 coreconfigitem('email', 'charsets',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
429 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
430 )
34478
ef303daefdf7 configitems: register the 'email.from' config
Boris Feld <boris.feld@octobus.net>
parents: 34477
diff changeset
431 coreconfigitem('email', 'from',
ef303daefdf7 configitems: register the 'email.from' config
Boris Feld <boris.feld@octobus.net>
parents: 34477
diff changeset
432 default=None,
ef303daefdf7 configitems: register the 'email.from' config
Boris Feld <boris.feld@octobus.net>
parents: 34477
diff changeset
433 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
434 coreconfigitem('email', 'method',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
435 default='smtp',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
436 )
34599
263a736aed9b configitems: register the 'email.reply-to' config
Boris Feld <boris.feld@octobus.net>
parents: 34598
diff changeset
437 coreconfigitem('email', 'reply-to',
263a736aed9b configitems: register the 'email.reply-to' config
Boris Feld <boris.feld@octobus.net>
parents: 34598
diff changeset
438 default=None,
263a736aed9b configitems: register the 'email.reply-to' config
Boris Feld <boris.feld@octobus.net>
parents: 34598
diff changeset
439 )
34911
645b6684cf5b configitems: register 'email.to' and 'patchbomb.to'
Yuya Nishihara <yuya@tcha.org>
parents: 34902
diff changeset
440 coreconfigitem('email', 'to',
645b6684cf5b configitems: register 'email.to' and 'patchbomb.to'
Yuya Nishihara <yuya@tcha.org>
parents: 34902
diff changeset
441 default=None,
645b6684cf5b configitems: register 'email.to' and 'patchbomb.to'
Yuya Nishihara <yuya@tcha.org>
parents: 34902
diff changeset
442 )
34615
32166736684e configitems: register the 'experimental.archivemetatemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 34613
diff changeset
443 coreconfigitem('experimental', 'archivemetatemplate',
32166736684e configitems: register the 'experimental.archivemetatemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 34613
diff changeset
444 default=dynamicdefault,
32166736684e configitems: register the 'experimental.archivemetatemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 34613
diff changeset
445 )
40767
33d30fb1e4ae push: config option to control behavior when pushing to a publishing server
Anton Shestakov <av6@dwimlabs.net>
parents: 40589
diff changeset
446 coreconfigitem('experimental', 'auto-publish',
33d30fb1e4ae push: config option to control behavior when pushing to a publishing server
Anton Shestakov <av6@dwimlabs.net>
parents: 40589
diff changeset
447 default='publish',
33d30fb1e4ae push: config option to control behavior when pushing to a publishing server
Anton Shestakov <av6@dwimlabs.net>
parents: 40589
diff changeset
448 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
449 coreconfigitem('experimental', 'bundle-phases',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
450 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
451 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
452 coreconfigitem('experimental', 'bundle2-advertise',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
453 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
454 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
455 coreconfigitem('experimental', 'bundle2-output-capture',
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('experimental', 'bundle2.pushback',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
459 default=False,
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('experimental', 'bundle2lazylocking',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
462 default=False,
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('experimental', 'bundlecomplevel',
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 )
37769
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
467 coreconfigitem('experimental', 'bundlecomplevel.bzip2',
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
468 default=None,
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
469 )
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
470 coreconfigitem('experimental', 'bundlecomplevel.gzip',
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
471 default=None,
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
472 )
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
473 coreconfigitem('experimental', 'bundlecomplevel.none',
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
474 default=None,
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
475 )
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
476 coreconfigitem('experimental', 'bundlecomplevel.zstd',
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
477 default=None,
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37710
diff changeset
478 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
479 coreconfigitem('experimental', 'changegroup3',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
480 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
481 )
41799
64de5f44eec3 rewriting: add an option for rewrite commands to use the archived phase
Boris Feld <boris.feld@octobus.net>
parents: 41756
diff changeset
482 coreconfigitem('experimental', 'cleanup-as-archived',
64de5f44eec3 rewriting: add an option for rewrite commands to use the archived phase
Boris Feld <boris.feld@octobus.net>
parents: 41756
diff changeset
483 default=False,
64de5f44eec3 rewriting: add an option for rewrite commands to use the archived phase
Boris Feld <boris.feld@octobus.net>
parents: 41756
diff changeset
484 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
485 coreconfigitem('experimental', 'clientcompressionengines',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
486 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
487 )
34077
26531db4647a copytrace: replace experimental.disablecopytrace config with copytrace (BC)
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34005
diff changeset
488 coreconfigitem('experimental', 'copytrace',
26531db4647a copytrace: replace experimental.disablecopytrace config with copytrace (BC)
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34005
diff changeset
489 default='on',
26531db4647a copytrace: replace experimental.disablecopytrace config with copytrace (BC)
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34005
diff changeset
490 )
34846
f05a6e015ecc copies: add a config to limit the number of candidates to check in heuristics
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34831
diff changeset
491 coreconfigitem('experimental', 'copytrace.movecandidateslimit',
f05a6e015ecc copies: add a config to limit the number of candidates to check in heuristics
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34831
diff changeset
492 default=100,
f05a6e015ecc copies: add a config to limit the number of candidates to check in heuristics
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34831
diff changeset
493 )
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
494 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
495 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
496 )
41756
49ad315b39ee copies: do copy tracing based on ctx.p[12]copies() if configured
Martin von Zweigbergk <martinvonz@google.com>
parents: 41720
diff changeset
497 coreconfigitem('experimental', 'copies.read-from',
49ad315b39ee copies: do copy tracing based on ctx.p[12]copies() if configured
Martin von Zweigbergk <martinvonz@google.com>
parents: 41720
diff changeset
498 default="filelog-only",
49ad315b39ee copies: do copy tracing based on ctx.p[12]copies() if configured
Martin von Zweigbergk <martinvonz@google.com>
parents: 41720
diff changeset
499 )
42141
0e41f40b01cc copies: add config option for writing copy metadata to file and/or changset
Martin von Zweigbergk <martinvonz@google.com>
parents: 42046
diff changeset
500 coreconfigitem('experimental', 'copies.write-to',
0e41f40b01cc copies: add config option for writing copy metadata to file and/or changset
Martin von Zweigbergk <martinvonz@google.com>
parents: 42046
diff changeset
501 default='filelog-only',
0e41f40b01cc copies: add config option for writing copy metadata to file and/or changset
Martin von Zweigbergk <martinvonz@google.com>
parents: 42046
diff changeset
502 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
503 coreconfigitem('experimental', 'crecordtest',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
504 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
505 )
35496
8bb90cc4668e scmutil: add utility fn to return repo object with user passed revs unhidden
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35431
diff changeset
506 coreconfigitem('experimental', 'directaccess',
8bb90cc4668e scmutil: add utility fn to return repo object with user passed revs unhidden
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35431
diff changeset
507 default=False,
8bb90cc4668e scmutil: add utility fn to return repo object with user passed revs unhidden
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35431
diff changeset
508 )
8bb90cc4668e scmutil: add utility fn to return repo object with user passed revs unhidden
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35431
diff changeset
509 coreconfigitem('experimental', 'directaccess.revnums',
8bb90cc4668e scmutil: add utility fn to return repo object with user passed revs unhidden
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35431
diff changeset
510 default=False,
8bb90cc4668e scmutil: add utility fn to return repo object with user passed revs unhidden
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35431
diff changeset
511 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
512 coreconfigitem('experimental', 'editortmpinhg',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
513 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
514 )
34863
b1e3f609bf45 config: invert evolution-related configuration aliases
Boris Feld <boris.feld@octobus.net>
parents: 34858
diff changeset
515 coreconfigitem('experimental', 'evolution',
b1e3f609bf45 config: invert evolution-related configuration aliases
Boris Feld <boris.feld@octobus.net>
parents: 34858
diff changeset
516 default=list,
b1e3f609bf45 config: invert evolution-related configuration aliases
Boris Feld <boris.feld@octobus.net>
parents: 34858
diff changeset
517 )
34872
29f52e7966dd config: gather allowdivergence under the evolution namespace
Boris Feld <boris.feld@octobus.net>
parents: 34871
diff changeset
518 coreconfigitem('experimental', 'evolution.allowdivergence',
29f52e7966dd config: gather allowdivergence under the evolution namespace
Boris Feld <boris.feld@octobus.net>
parents: 34871
diff changeset
519 default=False,
29f52e7966dd config: gather allowdivergence under the evolution namespace
Boris Feld <boris.feld@octobus.net>
parents: 34871
diff changeset
520 alias=[('experimental', 'allowdivergence')]
29f52e7966dd config: gather allowdivergence under the evolution namespace
Boris Feld <boris.feld@octobus.net>
parents: 34871
diff changeset
521 )
34864
fec79a3f250f config: update evolution-related config
Boris Feld <boris.feld@octobus.net>
parents: 34863
diff changeset
522 coreconfigitem('experimental', 'evolution.allowunstable',
fec79a3f250f config: update evolution-related config
Boris Feld <boris.feld@octobus.net>
parents: 34863
diff changeset
523 default=None,
fec79a3f250f config: update evolution-related config
Boris Feld <boris.feld@octobus.net>
parents: 34863
diff changeset
524 )
fec79a3f250f config: update evolution-related config
Boris Feld <boris.feld@octobus.net>
parents: 34863
diff changeset
525 coreconfigitem('experimental', 'evolution.createmarkers',
fec79a3f250f config: update evolution-related config
Boris Feld <boris.feld@octobus.net>
parents: 34863
diff changeset
526 default=None,
fec79a3f250f config: update evolution-related config
Boris Feld <boris.feld@octobus.net>
parents: 34863
diff changeset
527 )
34902
cc977ec0b8b9 config: also gather effect-flags on experimental.evolution
Boris Feld <boris.feld@octobus.net>
parents: 34891
diff changeset
528 coreconfigitem('experimental', 'evolution.effect-flags',
34961
a7e49a5b3e6f obsolete: activate effect-flag by default
Boris Feld <boris.feld@octobus.net>
parents: 34942
diff changeset
529 default=True,
34902
cc977ec0b8b9 config: also gather effect-flags on experimental.evolution
Boris Feld <boris.feld@octobus.net>
parents: 34891
diff changeset
530 alias=[('experimental', 'effect-flags')]
cc977ec0b8b9 config: also gather effect-flags on experimental.evolution
Boris Feld <boris.feld@octobus.net>
parents: 34891
diff changeset
531 )
34864
fec79a3f250f config: update evolution-related config
Boris Feld <boris.feld@octobus.net>
parents: 34863
diff changeset
532 coreconfigitem('experimental', 'evolution.exchange',
fec79a3f250f config: update evolution-related config
Boris Feld <boris.feld@octobus.net>
parents: 34863
diff changeset
533 default=None,
fec79a3f250f config: update evolution-related config
Boris Feld <boris.feld@octobus.net>
parents: 34863
diff changeset
534 )
34863
b1e3f609bf45 config: invert evolution-related configuration aliases
Boris Feld <boris.feld@octobus.net>
parents: 34858
diff changeset
535 coreconfigitem('experimental', 'evolution.bundle-obsmarker',
b1e3f609bf45 config: invert evolution-related configuration aliases
Boris Feld <boris.feld@octobus.net>
parents: 34858
diff changeset
536 default=False,
b1e3f609bf45 config: invert evolution-related configuration aliases
Boris Feld <boris.feld@octobus.net>
parents: 34858
diff changeset
537 )
42309
604c086ddde6 log: add config for making `hg log -G` always topo-sorted
Martin von Zweigbergk <martinvonz@google.com>
parents: 42244
diff changeset
538 coreconfigitem('experimental', 'log.topo',
604c086ddde6 log: add config for making `hg log -G` always topo-sorted
Martin von Zweigbergk <martinvonz@google.com>
parents: 42244
diff changeset
539 default=False,
604c086ddde6 log: add config for making `hg log -G` always topo-sorted
Martin von Zweigbergk <martinvonz@google.com>
parents: 42244
diff changeset
540 )
35710
5cd60b0587a8 evolution: make reporting of new unstable changesets optional
Martin von Zweigbergk <martinvonz@google.com>
parents: 35698
diff changeset
541 coreconfigitem('experimental', 'evolution.report-instabilities',
5cd60b0587a8 evolution: make reporting of new unstable changesets optional
Martin von Zweigbergk <martinvonz@google.com>
parents: 35698
diff changeset
542 default=True,
5cd60b0587a8 evolution: make reporting of new unstable changesets optional
Martin von Zweigbergk <martinvonz@google.com>
parents: 35698
diff changeset
543 )
34863
b1e3f609bf45 config: invert evolution-related configuration aliases
Boris Feld <boris.feld@octobus.net>
parents: 34858
diff changeset
544 coreconfigitem('experimental', 'evolution.track-operation',
b1e3f609bf45 config: invert evolution-related configuration aliases
Boris Feld <boris.feld@octobus.net>
parents: 34858
diff changeset
545 default=True,
b1e3f609bf45 config: invert evolution-related configuration aliases
Boris Feld <boris.feld@octobus.net>
parents: 34858
diff changeset
546 )
42231
d345627d104b repoview: introduce a `experimental.extra-filter-revs` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42141
diff changeset
547 # repo-level config to exclude a revset visibility
d345627d104b repoview: introduce a `experimental.extra-filter-revs` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42141
diff changeset
548 #
d345627d104b repoview: introduce a `experimental.extra-filter-revs` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42141
diff changeset
549 # The target use case is to use `share` to expose different subset of the same
d345627d104b repoview: introduce a `experimental.extra-filter-revs` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42141
diff changeset
550 # repository, especially server side. See also `server.view`.
d345627d104b repoview: introduce a `experimental.extra-filter-revs` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42141
diff changeset
551 coreconfigitem('experimental', 'extra-filter-revs',
d345627d104b repoview: introduce a `experimental.extra-filter-revs` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42141
diff changeset
552 default=None,
d345627d104b repoview: introduce a `experimental.extra-filter-revs` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42141
diff changeset
553 )
34519
0314e02efa25 configitems: register the 'experimental.maxdeltachainspan' config
Boris Feld <boris.feld@octobus.net>
parents: 34491
diff changeset
554 coreconfigitem('experimental', 'maxdeltachainspan',
0314e02efa25 configitems: register the 'experimental.maxdeltachainspan' config
Boris Feld <boris.feld@octobus.net>
parents: 34491
diff changeset
555 default=-1,
0314e02efa25 configitems: register the 'experimental.maxdeltachainspan' config
Boris Feld <boris.feld@octobus.net>
parents: 34491
diff changeset
556 )
36999
e349ad5cbb71 filemerge: use a single temp dir instead of temp files
Kyle Lippincott <spectral@google.com>
parents: 36676
diff changeset
557 coreconfigitem('experimental', 'mergetempdirprefix',
e349ad5cbb71 filemerge: use a single temp dir instead of temp files
Kyle Lippincott <spectral@google.com>
parents: 36676
diff changeset
558 default=None,
e349ad5cbb71 filemerge: use a single temp dir instead of temp files
Kyle Lippincott <spectral@google.com>
parents: 36676
diff changeset
559 )
41296
d82dd55024e7 mmap: backed out changeset 875d2af8cb4e
Boris Feld <boris.feld@octobus.net>
parents: 41295
diff changeset
560 coreconfigitem('experimental', 'mmapindexthreshold',
d82dd55024e7 mmap: backed out changeset 875d2af8cb4e
Boris Feld <boris.feld@octobus.net>
parents: 41295
diff changeset
561 default=None,
d82dd55024e7 mmap: backed out changeset 875d2af8cb4e
Boris Feld <boris.feld@octobus.net>
parents: 41295
diff changeset
562 )
40073
e92454e69dc3 narrow: introduce a config option to check if narrow is enabled or not
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 40057
diff changeset
563 coreconfigitem('experimental', 'narrow',
e92454e69dc3 narrow: introduce a config option to check if narrow is enabled or not
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 40057
diff changeset
564 default=False,
e92454e69dc3 narrow: introduce a config option to check if narrow is enabled or not
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 40057
diff changeset
565 )
34491
eb1517776f8a configitems: register the 'experimental.nonnormalparanoidcheck' config
Boris Feld <boris.feld@octobus.net>
parents: 34490
diff changeset
566 coreconfigitem('experimental', 'nonnormalparanoidcheck',
eb1517776f8a configitems: register the 'experimental.nonnormalparanoidcheck' config
Boris Feld <boris.feld@octobus.net>
parents: 34490
diff changeset
567 default=False,
eb1517776f8a configitems: register the 'experimental.nonnormalparanoidcheck' config
Boris Feld <boris.feld@octobus.net>
parents: 34490
diff changeset
568 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
569 coreconfigitem('experimental', 'exportableenviron',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
570 default=list,
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('experimental', 'extendedheader.index',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
573 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
574 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
575 coreconfigitem('experimental', 'extendedheader.similarity',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
576 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
577 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
578 coreconfigitem('experimental', 'graphshorten',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
579 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
580 )
34527
d5362671993b configitems: register the 'experimental.graphstyle.parent' config
Boris Feld <boris.feld@octobus.net>
parents: 34526
diff changeset
581 coreconfigitem('experimental', 'graphstyle.parent',
d5362671993b configitems: register the 'experimental.graphstyle.parent' config
Boris Feld <boris.feld@octobus.net>
parents: 34526
diff changeset
582 default=dynamicdefault,
d5362671993b configitems: register the 'experimental.graphstyle.parent' config
Boris Feld <boris.feld@octobus.net>
parents: 34526
diff changeset
583 )
34528
23783463d720 configitems: register the 'experimental.graphstyle.missing' config
Boris Feld <boris.feld@octobus.net>
parents: 34527
diff changeset
584 coreconfigitem('experimental', 'graphstyle.missing',
23783463d720 configitems: register the 'experimental.graphstyle.missing' config
Boris Feld <boris.feld@octobus.net>
parents: 34527
diff changeset
585 default=dynamicdefault,
23783463d720 configitems: register the 'experimental.graphstyle.missing' config
Boris Feld <boris.feld@octobus.net>
parents: 34527
diff changeset
586 )
34529
4a6a337f9c68 configitems: register the 'experimental.graphstyle.grandparent' config
Boris Feld <boris.feld@octobus.net>
parents: 34528
diff changeset
587 coreconfigitem('experimental', 'graphstyle.grandparent',
4a6a337f9c68 configitems: register the 'experimental.graphstyle.grandparent' config
Boris Feld <boris.feld@octobus.net>
parents: 34528
diff changeset
588 default=dynamicdefault,
4a6a337f9c68 configitems: register the 'experimental.graphstyle.grandparent' config
Boris Feld <boris.feld@octobus.net>
parents: 34528
diff changeset
589 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
590 coreconfigitem('experimental', 'hook-track-tags',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
591 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
592 )
37558
8a73132214a3 httppeer: support protocol upgrade
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37498
diff changeset
593 coreconfigitem('experimental', 'httppeer.advertise-v2',
8a73132214a3 httppeer: support protocol upgrade
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37498
diff changeset
594 default=False,
8a73132214a3 httppeer: support protocol upgrade
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37498
diff changeset
595 )
40133
762ef19a07e3 wireprotov2: send protocol settings frame from client
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40073
diff changeset
596 coreconfigitem('experimental', 'httppeer.v2-encoder-order',
762ef19a07e3 wireprotov2: send protocol settings frame from client
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40073
diff changeset
597 default=None,
762ef19a07e3 wireprotov2: send protocol settings frame from client
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40073
diff changeset
598 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
599 coreconfigitem('experimental', 'httppostargs',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
600 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
601 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
602 coreconfigitem('experimental', 'mergedriver',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
603 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
604 )
38526
313a940d49a3 ui: add an uninterruptable context manager that can block SIGINT
Augie Fackler <augie@google.com>
parents: 38493
diff changeset
605 coreconfigitem('experimental', 'nointerrupt', default=False)
313a940d49a3 ui: add an uninterruptable context manager that can block SIGINT
Augie Fackler <augie@google.com>
parents: 38493
diff changeset
606 coreconfigitem('experimental', 'nointerrupt-interactiveonly', default=True)
313a940d49a3 ui: add an uninterruptable context manager that can block SIGINT
Augie Fackler <augie@google.com>
parents: 38493
diff changeset
607
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
608 coreconfigitem('experimental', 'obsmarkers-exchange-debug',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
609 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
610 )
35236
5a62910948d2 remotenames: move function to pull remotenames from the remoterepo to core
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35209
diff changeset
611 coreconfigitem('experimental', 'remotenames',
5a62910948d2 remotenames: move function to pull remotenames from the remoterepo to core
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35209
diff changeset
612 default=False,
5a62910948d2 remotenames: move function to pull remotenames from the remoterepo to core
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35209
diff changeset
613 )
38493
da2a7d8354b2 unlinkpath: make empty directory removal optional (issue5901) (issue5826)
Kyle Lippincott <spectral@google.com>
parents: 38416
diff changeset
614 coreconfigitem('experimental', 'removeemptydirs',
da2a7d8354b2 unlinkpath: make empty directory removal optional (issue5901) (issue5826)
Kyle Lippincott <spectral@google.com>
parents: 38416
diff changeset
615 default=True,
da2a7d8354b2 unlinkpath: make empty directory removal optional (issue5901) (issue5826)
Kyle Lippincott <spectral@google.com>
parents: 38416
diff changeset
616 )
41987
c1d83d916e85 revert: option to choose what to keep, not what to discard
Martin von Zweigbergk <martinvonz@google.com>
parents: 41840
diff changeset
617 coreconfigitem('experimental', 'revert.interactive.select-to-keep',
c1d83d916e85 revert: option to choose what to keep, not what to discard
Martin von Zweigbergk <martinvonz@google.com>
parents: 41840
diff changeset
618 default=False,
c1d83d916e85 revert: option to choose what to keep, not what to discard
Martin von Zweigbergk <martinvonz@google.com>
parents: 41840
diff changeset
619 )
38855
7848f284b211 revisions: allow "x123" to refer to nodeid prefix "123"
Martin von Zweigbergk <martinvonz@google.com>
parents: 38842
diff changeset
620 coreconfigitem('experimental', 'revisions.prefixhexnode',
7848f284b211 revisions: allow "x123" to refer to nodeid prefix "123"
Martin von Zweigbergk <martinvonz@google.com>
parents: 38842
diff changeset
621 default=False,
7848f284b211 revisions: allow "x123" to refer to nodeid prefix "123"
Martin von Zweigbergk <martinvonz@google.com>
parents: 38842
diff changeset
622 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
623 coreconfigitem('experimental', 'revlogv2',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
624 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
625 )
38842
503f936489dd lookup: add option to disambiguate prefix within revset
Martin von Zweigbergk <martinvonz@google.com>
parents: 38822
diff changeset
626 coreconfigitem('experimental', 'revisions.disambiguatewithin',
503f936489dd lookup: add option to disambiguate prefix within revset
Martin von Zweigbergk <martinvonz@google.com>
parents: 38822
diff changeset
627 default=None,
503f936489dd lookup: add option to disambiguate prefix within revset
Martin von Zweigbergk <martinvonz@google.com>
parents: 38822
diff changeset
628 )
40178
46a40bce3ae0 wireprotov2: define and implement "filesdata" command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40172
diff changeset
629 coreconfigitem('experimental', 'server.filesdata.recommended-batch-size',
46a40bce3ae0 wireprotov2: define and implement "filesdata" command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40172
diff changeset
630 default=50000,
46a40bce3ae0 wireprotov2: define and implement "filesdata" command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40172
diff changeset
631 )
40172
30f70d11c224 wireprotov2: advertise recommended batch size for requests
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40133
diff changeset
632 coreconfigitem('experimental', 'server.manifestdata.recommended-batch-size',
30f70d11c224 wireprotov2: advertise recommended batch size for requests
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40133
diff changeset
633 default=100000,
30f70d11c224 wireprotov2: advertise recommended batch size for requests
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40133
diff changeset
634 )
40429
14b6afc6cb28 configitems: rename the config to prevent adding an alias in future
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 40418
diff changeset
635 coreconfigitem('experimental', 'server.stream-narrow-clones',
40338
af62936c2508 streamclone: new server config and some API changes for narrow stream clones
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 40253
diff changeset
636 default=False,
af62936c2508 streamclone: new server config and some API changes for narrow stream clones
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 40253
diff changeset
637 )
35185
66ecde8a704d server: introduce a 'experimental.single-head-per-branch' option
Boris Feld <boris.feld@octobus.net>
parents: 35163
diff changeset
638 coreconfigitem('experimental', 'single-head-per-branch',
66ecde8a704d server: introduce a 'experimental.single-head-per-branch' option
Boris Feld <boris.feld@octobus.net>
parents: 35163
diff changeset
639 default=False,
66ecde8a704d server: introduce a 'experimental.single-head-per-branch' option
Boris Feld <boris.feld@octobus.net>
parents: 35163
diff changeset
640 )
36215
464bedc0fdb4 wireprotoserver: handle SSH protocol version 2 upgrade requests
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35976
diff changeset
641 coreconfigitem('experimental', 'sshserver.support-v2',
464bedc0fdb4 wireprotoserver: handle SSH protocol version 2 upgrade requests
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35976
diff changeset
642 default=False,
464bedc0fdb4 wireprotoserver: handle SSH protocol version 2 upgrade requests
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35976
diff changeset
643 )
34824
e2ad93bcc084 revlog: introduce an experimental flag to slice chunks reads when too sparse
Paul Morelle <paul.morelle@octobus.net>
parents: 34805
diff changeset
644 coreconfigitem('experimental', 'sparse-read',
e2ad93bcc084 revlog: introduce an experimental flag to slice chunks reads when too sparse
Paul Morelle <paul.morelle@octobus.net>
parents: 34805
diff changeset
645 default=False,
e2ad93bcc084 revlog: introduce an experimental flag to slice chunks reads when too sparse
Paul Morelle <paul.morelle@octobus.net>
parents: 34805
diff changeset
646 )
e2ad93bcc084 revlog: introduce an experimental flag to slice chunks reads when too sparse
Paul Morelle <paul.morelle@octobus.net>
parents: 34805
diff changeset
647 coreconfigitem('experimental', 'sparse-read.density-threshold',
38632
eb8504715071 sparse-read: target density of 50% instead of 25%
Paul Morelle <paul.morelle@octobus.net>
parents: 38602
diff changeset
648 default=0.50,
34824
e2ad93bcc084 revlog: introduce an experimental flag to slice chunks reads when too sparse
Paul Morelle <paul.morelle@octobus.net>
parents: 34805
diff changeset
649 )
34881
8c9b08a0c48c sparse-read: skip gaps too small to be worth splitting
Paul Morelle <paul.morelle@octobus.net>
parents: 34875
diff changeset
650 coreconfigitem('experimental', 'sparse-read.min-gap-size',
38633
e3d18de56417 sparse-read: discard gap below 65K only
Boris Feld <boris.feld@octobus.net>
parents: 38632
diff changeset
651 default='65K',
34825
4d5d5009bd75 revlog-sparse-read: add a lower-threshold for read block size
Paul Morelle <paul.morelle@octobus.net>
parents: 34824
diff changeset
652 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
653 coreconfigitem('experimental', 'treemanifest',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
654 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
655 )
35726
45b678bf3a78 atomicupdate: add an experimental option to use atomictemp when updating
Boris Feld <boris.feld@octobus.net>
parents: 35710
diff changeset
656 coreconfigitem('experimental', 'update.atomic-file',
45b678bf3a78 atomicupdate: add an experimental option to use atomictemp when updating
Boris Feld <boris.feld@octobus.net>
parents: 35710
diff changeset
657 default=False,
45b678bf3a78 atomicupdate: add an experimental option to use atomictemp when updating
Boris Feld <boris.feld@octobus.net>
parents: 35710
diff changeset
658 )
35976
48a3a9283f09 sshpeer: initial definition and implementation of new SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35907
diff changeset
659 coreconfigitem('experimental', 'sshpeer.advertise-v2',
48a3a9283f09 sshpeer: initial definition and implementation of new SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35907
diff changeset
660 default=False,
48a3a9283f09 sshpeer: initial definition and implementation of new SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35907
diff changeset
661 )
37046
1cfef5693203 wireproto: support /api/* URL space for exposing APIs
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37009
diff changeset
662 coreconfigitem('experimental', 'web.apiserver',
1cfef5693203 wireproto: support /api/* URL space for exposing APIs
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37009
diff changeset
663 default=False,
1cfef5693203 wireproto: support /api/* URL space for exposing APIs
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37009
diff changeset
664 )
1cfef5693203 wireproto: support /api/* URL space for exposing APIs
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37009
diff changeset
665 coreconfigitem('experimental', 'web.api.http-v2',
1cfef5693203 wireproto: support /api/* URL space for exposing APIs
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37009
diff changeset
666 default=False,
1cfef5693203 wireproto: support /api/* URL space for exposing APIs
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37009
diff changeset
667 )
37052
8c3c47362934 wireproto: implement basic frame reading and processing
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37046
diff changeset
668 coreconfigitem('experimental', 'web.api.debugreflect',
8c3c47362934 wireproto: implement basic frame reading and processing
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37046
diff changeset
669 default=False,
8c3c47362934 wireproto: implement basic frame reading and processing
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37046
diff changeset
670 )
38732
be4984261611 merge: mark file gets as not thread safe (issue5933)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 38727
diff changeset
671 coreconfigitem('experimental', 'worker.wdir-get-thread-safe',
be4984261611 merge: mark file gets as not thread safe (issue5933)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 38727
diff changeset
672 default=False,
be4984261611 merge: mark file gets as not thread safe (issue5933)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 38727
diff changeset
673 )
36676
c6a61298ac32 mdiff: add a config option to use xdiff algorithm
Jun Wu <quark@fb.com>
parents: 36426
diff changeset
674 coreconfigitem('experimental', 'xdiff',
c6a61298ac32 mdiff: add a config option to use xdiff algorithm
Jun Wu <quark@fb.com>
parents: 36426
diff changeset
675 default=False,
c6a61298ac32 mdiff: add a config option to use xdiff algorithm
Jun Wu <quark@fb.com>
parents: 36426
diff changeset
676 )
34667
23f891164e59 configitems: register the 'extensions' section
Boris Feld <boris.feld@octobus.net>
parents: 34666
diff changeset
677 coreconfigitem('extensions', '.*',
23f891164e59 configitems: register the 'extensions' section
Boris Feld <boris.feld@octobus.net>
parents: 34666
diff changeset
678 default=None,
23f891164e59 configitems: register the 'extensions' section
Boris Feld <boris.feld@octobus.net>
parents: 34666
diff changeset
679 generic=True,
23f891164e59 configitems: register the 'extensions' section
Boris Feld <boris.feld@octobus.net>
parents: 34666
diff changeset
680 )
34769
43c78d2819d8 configitems: register the 'extdata' section
Boris Feld <boris.feld@octobus.net>
parents: 34768
diff changeset
681 coreconfigitem('extdata', '.*',
43c78d2819d8 configitems: register the 'extdata' section
Boris Feld <boris.feld@octobus.net>
parents: 34768
diff changeset
682 default=None,
43c78d2819d8 configitems: register the 'extdata' section
Boris Feld <boris.feld@octobus.net>
parents: 34768
diff changeset
683 generic=True,
43c78d2819d8 configitems: register the 'extdata' section
Boris Feld <boris.feld@octobus.net>
parents: 34768
diff changeset
684 )
42325
526750cdd02d bookmarks: keep bookmarks in .hg/store if new config set
Martin von Zweigbergk <martinvonz@google.com>
parents: 42309
diff changeset
685 coreconfigitem('format', 'bookmarks-in-store',
526750cdd02d bookmarks: keep bookmarks in .hg/store if new config set
Martin von Zweigbergk <martinvonz@google.com>
parents: 42309
diff changeset
686 default=False,
526750cdd02d bookmarks: keep bookmarks in .hg/store if new config set
Martin von Zweigbergk <martinvonz@google.com>
parents: 42309
diff changeset
687 )
33236
cf6c478bc339 configitems: register the 'format.chunkcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33235
diff changeset
688 coreconfigitem('format', 'chunkcachesize',
cf6c478bc339 configitems: register the 'format.chunkcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33235
diff changeset
689 default=None,
cf6c478bc339 configitems: register the 'format.chunkcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33235
diff changeset
690 )
33237
7043e67cc9b2 configitems: register the 'format.dotencode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33236
diff changeset
691 coreconfigitem('format', 'dotencode',
7043e67cc9b2 configitems: register the 'format.dotencode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33236
diff changeset
692 default=True,
7043e67cc9b2 configitems: register the 'format.dotencode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33236
diff changeset
693 )
33238
784f2bd96d43 configitems: register the 'format.generaldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33237
diff changeset
694 coreconfigitem('format', 'generaldelta',
784f2bd96d43 configitems: register the 'format.generaldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33237
diff changeset
695 default=False,
784f2bd96d43 configitems: register the 'format.generaldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33237
diff changeset
696 )
33239
a4f6dee1b9f1 configitems: register the 'format.manifestcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33238
diff changeset
697 coreconfigitem('format', 'manifestcachesize',
a4f6dee1b9f1 configitems: register the 'format.manifestcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33238
diff changeset
698 default=None,
a4f6dee1b9f1 configitems: register the 'format.manifestcachesize' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33238
diff changeset
699 )
33240
91c1e7c974c2 configitems: register the 'format.maxchainlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33239
diff changeset
700 coreconfigitem('format', 'maxchainlen',
39506
b66ea3fc3a86 sparse-revlog: set max delta chain length to on thousand
Boris Feld <boris.feld@octobus.net>
parents: 39393
diff changeset
701 default=dynamicdefault,
33240
91c1e7c974c2 configitems: register the 'format.maxchainlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33239
diff changeset
702 )
33244
fd50788a2d4f configitems: register the 'format.obsstore-version' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33240
diff changeset
703 coreconfigitem('format', 'obsstore-version',
fd50788a2d4f configitems: register the 'format.obsstore-version' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33240
diff changeset
704 default=None,
fd50788a2d4f configitems: register the 'format.obsstore-version' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33240
diff changeset
705 )
38717
aa21a9ad46ea sparse-revlog: new requirement enabled with format.sparse-revlog
Paul Morelle <paul.morelle@octobus.net>
parents: 38652
diff changeset
706 coreconfigitem('format', 'sparse-revlog',
40918
3764330f76a6 sparse-revlog: enabled by default
Boris Feld <boris.feld@octobus.net>
parents: 40827
diff changeset
707 default=True,
38717
aa21a9ad46ea sparse-revlog: new requirement enabled with format.sparse-revlog
Paul Morelle <paul.morelle@octobus.net>
parents: 38652
diff changeset
708 )
42046
4ee906aa7b60 compression: introduce an official `format.revlog-compression` option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42044
diff changeset
709 coreconfigitem('format', 'revlog-compression',
4ee906aa7b60 compression: introduce an official `format.revlog-compression` option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42044
diff changeset
710 default='zlib',
4ee906aa7b60 compression: introduce an official `format.revlog-compression` option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42044
diff changeset
711 alias=[('experimental', 'format.compression')]
4ee906aa7b60 compression: introduce an official `format.revlog-compression` option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42044
diff changeset
712 )
33245
28e8983d9ed7 configitems: register the 'format.usefncache' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33244
diff changeset
713 coreconfigitem('format', 'usefncache',
28e8983d9ed7 configitems: register the 'format.usefncache' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33244
diff changeset
714 default=True,
28e8983d9ed7 configitems: register the 'format.usefncache' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33244
diff changeset
715 )
33246
4d9458e06ef0 configitems: register the 'format.usegeneraldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33245
diff changeset
716 coreconfigitem('format', 'usegeneraldelta',
4d9458e06ef0 configitems: register the 'format.usegeneraldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33245
diff changeset
717 default=True,
4d9458e06ef0 configitems: register the 'format.usegeneraldelta' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33245
diff changeset
718 )
33247
4d5d493ea54a configitems: register the 'format.usestore' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33246
diff changeset
719 coreconfigitem('format', 'usestore',
4d5d493ea54a configitems: register the 'format.usestore' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33246
diff changeset
720 default=True,
4d5d493ea54a configitems: register the 'format.usestore' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33246
diff changeset
721 )
39298
7a9f15ed3b96 phases: add a repository requirement about internal phase
Boris Feld <boris.feld@octobus.net>
parents: 39125
diff changeset
722 coreconfigitem('format', 'internal-phase',
7a9f15ed3b96 phases: add a repository requirement about internal phase
Boris Feld <boris.feld@octobus.net>
parents: 39125
diff changeset
723 default=False,
7a9f15ed3b96 phases: add a repository requirement about internal phase
Boris Feld <boris.feld@octobus.net>
parents: 39125
diff changeset
724 )
34885
df2ff314e36f fsmonitor: warn when fsmonitor could be used
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34881
diff changeset
725 coreconfigitem('fsmonitor', 'warn_when_unused',
df2ff314e36f fsmonitor: warn when fsmonitor could be used
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34881
diff changeset
726 default=True,
df2ff314e36f fsmonitor: warn when fsmonitor could be used
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34881
diff changeset
727 )
df2ff314e36f fsmonitor: warn when fsmonitor could be used
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34881
diff changeset
728 coreconfigitem('fsmonitor', 'warn_update_file_count',
df2ff314e36f fsmonitor: warn when fsmonitor could be used
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34881
diff changeset
729 default=50000,
df2ff314e36f fsmonitor: warn when fsmonitor could be used
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34881
diff changeset
730 )
41538
b5642239fb32 configitems: use raw strings for hidden-{command,topic} items
Gregory Szorc <gregory.szorc@gmail.com>
parents: 41492
diff changeset
731 coreconfigitem('help', br'hidden-command\..*',
40412
ab09e797fbed help: allow commands to be hidden
rdamazio@google.com
parents: 40400
diff changeset
732 default=False,
ab09e797fbed help: allow commands to be hidden
rdamazio@google.com
parents: 40400
diff changeset
733 generic=True,
ab09e797fbed help: allow commands to be hidden
rdamazio@google.com
parents: 40400
diff changeset
734 )
41538
b5642239fb32 configitems: use raw strings for hidden-{command,topic} items
Gregory Szorc <gregory.szorc@gmail.com>
parents: 41492
diff changeset
735 coreconfigitem('help', br'hidden-topic\..*',
40413
1ddd202c47d9 help: allow hiding of help topics
rdamazio@google.com
parents: 40412
diff changeset
736 default=False,
1ddd202c47d9 help: allow hiding of help topics
rdamazio@google.com
parents: 40412
diff changeset
737 generic=True,
1ddd202c47d9 help: allow hiding of help topics
rdamazio@google.com
parents: 40412
diff changeset
738 )
34668
31723cff35fa configitems: register the 'hooks' config section
Boris Feld <boris.feld@octobus.net>
parents: 34667
diff changeset
739 coreconfigitem('hooks', '.*',
31723cff35fa configitems: register the 'hooks' config section
Boris Feld <boris.feld@octobus.net>
parents: 34667
diff changeset
740 default=dynamicdefault,
31723cff35fa configitems: register the 'hooks' config section
Boris Feld <boris.feld@octobus.net>
parents: 34667
diff changeset
741 generic=True,
31723cff35fa configitems: register the 'hooks' config section
Boris Feld <boris.feld@octobus.net>
parents: 34667
diff changeset
742 )
34751
bbeaa5415266 configitems: register the 'hgweb-paths' section
Boris Feld <boris.feld@octobus.net>
parents: 34748
diff changeset
743 coreconfigitem('hgweb-paths', '.*',
bbeaa5415266 configitems: register the 'hgweb-paths' section
Boris Feld <boris.feld@octobus.net>
parents: 34748
diff changeset
744 default=list,
bbeaa5415266 configitems: register the 'hgweb-paths' section
Boris Feld <boris.feld@octobus.net>
parents: 34748
diff changeset
745 generic=True,
bbeaa5415266 configitems: register the 'hgweb-paths' section
Boris Feld <boris.feld@octobus.net>
parents: 34748
diff changeset
746 )
34748
8c1d0fe1f431 configitems: register the 'hostfingerprints' section
Boris Feld <boris.feld@octobus.net>
parents: 34747
diff changeset
747 coreconfigitem('hostfingerprints', '.*',
8c1d0fe1f431 configitems: register the 'hostfingerprints' section
Boris Feld <boris.feld@octobus.net>
parents: 34747
diff changeset
748 default=list,
8c1d0fe1f431 configitems: register the 'hostfingerprints' section
Boris Feld <boris.feld@octobus.net>
parents: 34747
diff changeset
749 generic=True,
8c1d0fe1f431 configitems: register the 'hostfingerprints' section
Boris Feld <boris.feld@octobus.net>
parents: 34747
diff changeset
750 )
33217
f96c2f2f559b configitems: register the 'hostsecurity.ciphers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33184
diff changeset
751 coreconfigitem('hostsecurity', 'ciphers',
f96c2f2f559b configitems: register the 'hostsecurity.ciphers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33184
diff changeset
752 default=None,
f96c2f2f559b configitems: register the 'hostsecurity.ciphers' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33184
diff changeset
753 )
33218
24f3ff50736d configitems: register the 'hostsecurity.disabletls10warning' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33217
diff changeset
754 coreconfigitem('hostsecurity', 'disabletls10warning',
24f3ff50736d configitems: register the 'hostsecurity.disabletls10warning' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33217
diff changeset
755 default=False,
24f3ff50736d configitems: register the 'hostsecurity.disabletls10warning' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33217
diff changeset
756 )
34747
5cf98daad7b1 configitems: register the 'hostsecurity.minimumprotocol' config
Boris Feld <boris.feld@octobus.net>
parents: 34746
diff changeset
757 coreconfigitem('hostsecurity', 'minimumprotocol',
5cf98daad7b1 configitems: register the 'hostsecurity.minimumprotocol' config
Boris Feld <boris.feld@octobus.net>
parents: 34746
diff changeset
758 default=dynamicdefault,
5cf98daad7b1 configitems: register the 'hostsecurity.minimumprotocol' config
Boris Feld <boris.feld@octobus.net>
parents: 34746
diff changeset
759 )
34773
607085aa4d67 configitems: register the 'hostsecurity.*:minimumprotocol' config
Boris Feld <boris.feld@octobus.net>
parents: 34769
diff changeset
760 coreconfigitem('hostsecurity', '.*:minimumprotocol$',
607085aa4d67 configitems: register the 'hostsecurity.*:minimumprotocol' config
Boris Feld <boris.feld@octobus.net>
parents: 34769
diff changeset
761 default=dynamicdefault,
607085aa4d67 configitems: register the 'hostsecurity.*:minimumprotocol' config
Boris Feld <boris.feld@octobus.net>
parents: 34769
diff changeset
762 generic=True,
607085aa4d67 configitems: register the 'hostsecurity.*:minimumprotocol' config
Boris Feld <boris.feld@octobus.net>
parents: 34769
diff changeset
763 )
34774
fd4caf1b23f6 configitems: register the 'hostsecurity.*:ciphers' config
Boris Feld <boris.feld@octobus.net>
parents: 34773
diff changeset
764 coreconfigitem('hostsecurity', '.*:ciphers$',
fd4caf1b23f6 configitems: register the 'hostsecurity.*:ciphers' config
Boris Feld <boris.feld@octobus.net>
parents: 34773
diff changeset
765 default=dynamicdefault,
fd4caf1b23f6 configitems: register the 'hostsecurity.*:ciphers' config
Boris Feld <boris.feld@octobus.net>
parents: 34773
diff changeset
766 generic=True,
fd4caf1b23f6 configitems: register the 'hostsecurity.*:ciphers' config
Boris Feld <boris.feld@octobus.net>
parents: 34773
diff changeset
767 )
34775
17919e9006b9 configitems: register the 'hostsecurity.*:fingerprints' config
Boris Feld <boris.feld@octobus.net>
parents: 34774
diff changeset
768 coreconfigitem('hostsecurity', '.*:fingerprints$',
17919e9006b9 configitems: register the 'hostsecurity.*:fingerprints' config
Boris Feld <boris.feld@octobus.net>
parents: 34774
diff changeset
769 default=list,
17919e9006b9 configitems: register the 'hostsecurity.*:fingerprints' config
Boris Feld <boris.feld@octobus.net>
parents: 34774
diff changeset
770 generic=True,
17919e9006b9 configitems: register the 'hostsecurity.*:fingerprints' config
Boris Feld <boris.feld@octobus.net>
parents: 34774
diff changeset
771 )
34776
48d2b396cf6c configitems: register the 'hostsecurity.*:verifycertsfile' config
Boris Feld <boris.feld@octobus.net>
parents: 34775
diff changeset
772 coreconfigitem('hostsecurity', '.*:verifycertsfile$',
48d2b396cf6c configitems: register the 'hostsecurity.*:verifycertsfile' config
Boris Feld <boris.feld@octobus.net>
parents: 34775
diff changeset
773 default=None,
48d2b396cf6c configitems: register the 'hostsecurity.*:verifycertsfile' config
Boris Feld <boris.feld@octobus.net>
parents: 34775
diff changeset
774 generic=True,
48d2b396cf6c configitems: register the 'hostsecurity.*:verifycertsfile' config
Boris Feld <boris.feld@octobus.net>
parents: 34775
diff changeset
775 )
48d2b396cf6c configitems: register the 'hostsecurity.*:verifycertsfile' config
Boris Feld <boris.feld@octobus.net>
parents: 34775
diff changeset
776
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
777 coreconfigitem('http_proxy', 'always',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
778 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
779 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
780 coreconfigitem('http_proxy', 'host',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
781 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
782 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
783 coreconfigitem('http_proxy', 'no',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
784 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
785 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
786 coreconfigitem('http_proxy', 'passwd',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
787 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
788 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
789 coreconfigitem('http_proxy', 'user',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
790 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
791 )
40043
6509fcec830c url: allow to configure timeout on http connection
Cédric Krier <ced@b2ck.com>
parents: 39996
diff changeset
792
6509fcec830c url: allow to configure timeout on http connection
Cédric Krier <ced@b2ck.com>
parents: 39996
diff changeset
793 coreconfigitem('http', 'timeout',
6509fcec830c url: allow to configure timeout on http connection
Cédric Krier <ced@b2ck.com>
parents: 39996
diff changeset
794 default=None,
6509fcec830c url: allow to configure timeout on http connection
Cédric Krier <ced@b2ck.com>
parents: 39996
diff changeset
795 )
6509fcec830c url: allow to configure timeout on http connection
Cédric Krier <ced@b2ck.com>
parents: 39996
diff changeset
796
34592
e7dbccabc982 configitems: register the 'logtoprocess.commandexception' config
Boris Feld <boris.feld@octobus.net>
parents: 34591
diff changeset
797 coreconfigitem('logtoprocess', 'commandexception',
e7dbccabc982 configitems: register the 'logtoprocess.commandexception' config
Boris Feld <boris.feld@octobus.net>
parents: 34591
diff changeset
798 default=None,
e7dbccabc982 configitems: register the 'logtoprocess.commandexception' config
Boris Feld <boris.feld@octobus.net>
parents: 34591
diff changeset
799 )
34593
10f8f20e0137 configitems: register the 'logtoprocess.commandfinish' config
Boris Feld <boris.feld@octobus.net>
parents: 34592
diff changeset
800 coreconfigitem('logtoprocess', 'commandfinish',
10f8f20e0137 configitems: register the 'logtoprocess.commandfinish' config
Boris Feld <boris.feld@octobus.net>
parents: 34592
diff changeset
801 default=None,
10f8f20e0137 configitems: register the 'logtoprocess.commandfinish' config
Boris Feld <boris.feld@octobus.net>
parents: 34592
diff changeset
802 )
34594
728ecab6634b configitems: register the 'logtoprocess.command' config
Boris Feld <boris.feld@octobus.net>
parents: 34593
diff changeset
803 coreconfigitem('logtoprocess', 'command',
728ecab6634b configitems: register the 'logtoprocess.command' config
Boris Feld <boris.feld@octobus.net>
parents: 34593
diff changeset
804 default=None,
728ecab6634b configitems: register the 'logtoprocess.command' config
Boris Feld <boris.feld@octobus.net>
parents: 34593
diff changeset
805 )
34595
54d916833ca5 configitems: register the 'logtoprocess.develwarn' config
Boris Feld <boris.feld@octobus.net>
parents: 34594
diff changeset
806 coreconfigitem('logtoprocess', 'develwarn',
54d916833ca5 configitems: register the 'logtoprocess.develwarn' config
Boris Feld <boris.feld@octobus.net>
parents: 34594
diff changeset
807 default=None,
54d916833ca5 configitems: register the 'logtoprocess.develwarn' config
Boris Feld <boris.feld@octobus.net>
parents: 34594
diff changeset
808 )
34596
c2dea46d0f23 configitems: register the 'logtoprocess.uiblocked' config
Boris Feld <boris.feld@octobus.net>
parents: 34595
diff changeset
809 coreconfigitem('logtoprocess', 'uiblocked',
c2dea46d0f23 configitems: register the 'logtoprocess.uiblocked' config
Boris Feld <boris.feld@octobus.net>
parents: 34595
diff changeset
810 default=None,
c2dea46d0f23 configitems: register the 'logtoprocess.uiblocked' config
Boris Feld <boris.feld@octobus.net>
parents: 34595
diff changeset
811 )
34522
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
812 coreconfigitem('merge', 'checkunknown',
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
813 default='abort',
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
814 )
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
815 coreconfigitem('merge', 'checkignored',
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
816 default='abort',
bed1d2eaa108 configitems: register 'merge.checkunknown' and 'merge.checkignored'
Boris Feld <boris.feld@octobus.net>
parents: 34521
diff changeset
817 )
34941
37450a122128 merge: add a config option to disable path conflict checking
Siddharth Agarwal <sid0@fb.com>
parents: 34917
diff changeset
818 coreconfigitem('experimental', 'merge.checkpathconflicts',
34942
2a774cae3a03 merge: disable path conflict checking by default (issue5716)
Siddharth Agarwal <sid0@fb.com>
parents: 34941
diff changeset
819 default=False,
34941
37450a122128 merge: add a config option to disable path conflict checking
Siddharth Agarwal <sid0@fb.com>
parents: 34917
diff changeset
820 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
821 coreconfigitem('merge', 'followcopies',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
822 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
823 )
34796
ed91846c29cf filemerge: introduce functions to halt merge flow
Ryan McElroy <rmcelroy@fb.com>
parents: 34776
diff changeset
824 coreconfigitem('merge', 'on-failure',
ed91846c29cf filemerge: introduce functions to halt merge flow
Ryan McElroy <rmcelroy@fb.com>
parents: 34776
diff changeset
825 default='continue',
ed91846c29cf filemerge: introduce functions to halt merge flow
Ryan McElroy <rmcelroy@fb.com>
parents: 34776
diff changeset
826 )
34479
99c3dee3f6ce configitems: register the 'merge.preferancestor' config
Boris Feld <boris.feld@octobus.net>
parents: 34478
diff changeset
827 coreconfigitem('merge', 'preferancestor',
99c3dee3f6ce configitems: register the 'merge.preferancestor' config
Boris Feld <boris.feld@octobus.net>
parents: 34478
diff changeset
828 default=lambda: ['*'],
99c3dee3f6ce configitems: register the 'merge.preferancestor' config
Boris Feld <boris.feld@octobus.net>
parents: 34478
diff changeset
829 )
39125
cded904f7acc filemerge: add config knob to check capabilities of internal merge tools
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 38873
diff changeset
830 coreconfigitem('merge', 'strict-capability-check',
cded904f7acc filemerge: add config knob to check capabilities of internal merge tools
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 38873
diff changeset
831 default=False,
cded904f7acc filemerge: add config knob to check capabilities of internal merge tools
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 38873
diff changeset
832 )
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
833 coreconfigitem('merge-tools', '.*',
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
834 default=None,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
835 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
836 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
837 coreconfigitem('merge-tools', br'.*\.args$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
838 default="$local $base $other",
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
839 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
840 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
841 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
842 coreconfigitem('merge-tools', br'.*\.binary$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
843 default=False,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
844 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
845 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
846 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
847 coreconfigitem('merge-tools', br'.*\.check$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
848 default=list,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
849 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
850 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
851 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
852 coreconfigitem('merge-tools', br'.*\.checkchanged$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
853 default=False,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
854 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
855 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
856 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
857 coreconfigitem('merge-tools', br'.*\.executable$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
858 default=dynamicdefault,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
859 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
860 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
861 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
862 coreconfigitem('merge-tools', br'.*\.fixeol$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
863 default=False,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
864 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
865 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
866 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
867 coreconfigitem('merge-tools', br'.*\.gui$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
868 default=False,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
869 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
870 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
871 )
35907
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
872 coreconfigitem('merge-tools', br'.*\.mergemarkers$',
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
873 default='basic',
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
874 generic=True,
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
875 priority=-1,
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
876 )
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
877 coreconfigitem('merge-tools', br'.*\.mergemarkertemplate$',
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
878 default=dynamicdefault, # take from ui.mergemarkertemplate
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
879 generic=True,
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
880 priority=-1,
9037c29e9f53 filemerge: support passing labels to external merge tools
Kyle Lippincott <spectral@google.com>
parents: 35808
diff changeset
881 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
882 coreconfigitem('merge-tools', br'.*\.priority$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
883 default=0,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
884 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
885 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
886 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
887 coreconfigitem('merge-tools', br'.*\.premerge$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
888 default=dynamicdefault,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
889 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
890 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
891 )
34891
6b77c13a1aab configitems: make all regular expressions bytes and not native str
Augie Fackler <augie@google.com>
parents: 34888
diff changeset
892 coreconfigitem('merge-tools', br'.*\.symlink$',
34826
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
893 default=False,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
894 generic=True,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
895 priority=-1,
18a3274ed675 configitems: register the full 'merge-tools' config and sub-options
Boris Feld <boris.feld@octobus.net>
parents: 34825
diff changeset
896 )
34669
03f7db5f8e71 configitems: register the 'pager.attend-.*' options
Boris Feld <boris.feld@octobus.net>
parents: 34668
diff changeset
897 coreconfigitem('pager', 'attend-.*',
03f7db5f8e71 configitems: register the 'pager.attend-.*' options
Boris Feld <boris.feld@octobus.net>
parents: 34668
diff changeset
898 default=dynamicdefault,
03f7db5f8e71 configitems: register the 'pager.attend-.*' options
Boris Feld <boris.feld@octobus.net>
parents: 34668
diff changeset
899 generic=True,
03f7db5f8e71 configitems: register the 'pager.attend-.*' options
Boris Feld <boris.feld@octobus.net>
parents: 34668
diff changeset
900 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
901 coreconfigitem('pager', 'ignore',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
902 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
903 )
34591
f00eef0922ff configitems: register the 'pager.pager' config
Boris Feld <boris.feld@octobus.net>
parents: 34590
diff changeset
904 coreconfigitem('pager', 'pager',
f00eef0922ff configitems: register the 'pager.pager' config
Boris Feld <boris.feld@octobus.net>
parents: 34590
diff changeset
905 default=dynamicdefault,
f00eef0922ff configitems: register the 'pager.pager' config
Boris Feld <boris.feld@octobus.net>
parents: 34590
diff changeset
906 )
33229
dd50a370c8cb configitems: register the 'patch.eol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33228
diff changeset
907 coreconfigitem('patch', 'eol',
dd50a370c8cb configitems: register the 'patch.eol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33228
diff changeset
908 default='strict',
dd50a370c8cb configitems: register the 'patch.eol' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33228
diff changeset
909 )
32990
1d5d7e2b7ab5 configitems: register 'patch.fuzz' as first example for 'configint'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32986
diff changeset
910 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
911 default=2,
1d5d7e2b7ab5 configitems: register 'patch.fuzz' as first example for 'configint'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32986
diff changeset
912 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
913 coreconfigitem('paths', 'default',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
914 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
915 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
916 coreconfigitem('paths', 'default-push',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
917 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
918 )
34670
ec45d7a6d799 configitems: register the 'paths' config section
Boris Feld <boris.feld@octobus.net>
parents: 34669
diff changeset
919 coreconfigitem('paths', '.*',
ec45d7a6d799 configitems: register the 'paths' config section
Boris Feld <boris.feld@octobus.net>
parents: 34669
diff changeset
920 default=None,
ec45d7a6d799 configitems: register the 'paths' config section
Boris Feld <boris.feld@octobus.net>
parents: 34669
diff changeset
921 generic=True,
ec45d7a6d799 configitems: register the 'paths' config section
Boris Feld <boris.feld@octobus.net>
parents: 34669
diff changeset
922 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
923 coreconfigitem('phases', 'checksubrepos',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
924 default='follow',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
925 )
34476
9d78dfc78d93 configitems: register the 'phases.new-commit' config
Boris Feld <boris.feld@octobus.net>
parents: 34412
diff changeset
926 coreconfigitem('phases', 'new-commit',
34563
1faa34347b24 configitems: update default value of 'phases.new-commit'
Boris Feld <boris.feld@octobus.net>
parents: 34529
diff changeset
927 default='draft',
34476
9d78dfc78d93 configitems: register the 'phases.new-commit' config
Boris Feld <boris.feld@octobus.net>
parents: 34412
diff changeset
928 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
929 coreconfigitem('phases', 'publish',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
930 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
931 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
932 coreconfigitem('profiling', 'enabled',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
933 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
934 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
935 coreconfigitem('profiling', 'format',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
936 default='text',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
937 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
938 coreconfigitem('profiling', 'freq',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
939 default=1000,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
940 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
941 coreconfigitem('profiling', 'limit',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
942 default=30,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
943 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
944 coreconfigitem('profiling', 'nested',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
945 default=0,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
946 )
34409
7de145167ae7 configitems: register the 'profiling.output' config
Boris Feld <boris.feld@octobus.net>
parents: 34314
diff changeset
947 coreconfigitem('profiling', 'output',
7de145167ae7 configitems: register the 'profiling.output' config
Boris Feld <boris.feld@octobus.net>
parents: 34314
diff changeset
948 default=None,
7de145167ae7 configitems: register the 'profiling.output' config
Boris Feld <boris.feld@octobus.net>
parents: 34314
diff changeset
949 )
34410
fecea78ff2af configitems: register the 'profiling.showmax' config
Boris Feld <boris.feld@octobus.net>
parents: 34409
diff changeset
950 coreconfigitem('profiling', 'showmax',
fecea78ff2af configitems: register the 'profiling.showmax' config
Boris Feld <boris.feld@octobus.net>
parents: 34409
diff changeset
951 default=0.999,
fecea78ff2af configitems: register the 'profiling.showmax' config
Boris Feld <boris.feld@octobus.net>
parents: 34409
diff changeset
952 )
34411
f5c16e6507e8 configitems: register the 'profiling.showmin' config
Boris Feld <boris.feld@octobus.net>
parents: 34410
diff changeset
953 coreconfigitem('profiling', 'showmin',
f5c16e6507e8 configitems: register the 'profiling.showmin' config
Boris Feld <boris.feld@octobus.net>
parents: 34410
diff changeset
954 default=dynamicdefault,
f5c16e6507e8 configitems: register the 'profiling.showmin' config
Boris Feld <boris.feld@octobus.net>
parents: 34410
diff changeset
955 )
42423
0ae593e791fb profiling: show actual time spent in hotpath display
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents: 42325
diff changeset
956 coreconfigitem('profiling', 'showtime',
0ae593e791fb profiling: show actual time spent in hotpath display
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents: 42325
diff changeset
957 default=True,
0ae593e791fb profiling: show actual time spent in hotpath display
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents: 42325
diff changeset
958 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
959 coreconfigitem('profiling', 'sort',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
960 default='inlinetime',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
961 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
962 coreconfigitem('profiling', 'statformat',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
963 default='hotpath',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
964 )
38260
15a1e37f80bd profiling: introduce a "profiling.time-track" option
Boris Feld <boris.feld@octobus.net>
parents: 38239
diff changeset
965 coreconfigitem('profiling', 'time-track',
40418
89703e6151e7 profiling: revert the default mode back to 'cpu' on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 40400
diff changeset
966 default=dynamicdefault,
38260
15a1e37f80bd profiling: introduce a "profiling.time-track" option
Boris Feld <boris.feld@octobus.net>
parents: 38239
diff changeset
967 )
34412
83dfbda40e67 configitems: register the 'profiling.type' config
Boris Feld <boris.feld@octobus.net>
parents: 34411
diff changeset
968 coreconfigitem('profiling', 'type',
83dfbda40e67 configitems: register the 'profiling.type' config
Boris Feld <boris.feld@octobus.net>
parents: 34411
diff changeset
969 default='stat',
83dfbda40e67 configitems: register the 'profiling.type' config
Boris Feld <boris.feld@octobus.net>
parents: 34411
diff changeset
970 )
33248
be00b61e4c4a configitems: register the 'progress.assume-tty' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33247
diff changeset
971 coreconfigitem('progress', 'assume-tty',
be00b61e4c4a configitems: register the 'progress.assume-tty' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33247
diff changeset
972 default=False,
be00b61e4c4a configitems: register the 'progress.assume-tty' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33247
diff changeset
973 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
974 coreconfigitem('progress', 'changedelay',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
975 default=1,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
976 )
33249
391da1416038 configitems: register the 'progress.clear-complete' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33248
diff changeset
977 coreconfigitem('progress', 'clear-complete',
391da1416038 configitems: register the 'progress.clear-complete' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33248
diff changeset
978 default=True,
391da1416038 configitems: register the 'progress.clear-complete' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33248
diff changeset
979 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
980 coreconfigitem('progress', 'debug',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
981 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
982 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
983 coreconfigitem('progress', 'delay',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
984 default=3,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
985 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
986 coreconfigitem('progress', 'disable',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
987 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
988 )
34314
a667f0ca1d5f progress: make ETA only consider progress made in the last minute
Jun Wu <quark@fb.com>
parents: 34313
diff changeset
989 coreconfigitem('progress', 'estimateinterval',
a667f0ca1d5f progress: make ETA only consider progress made in the last minute
Jun Wu <quark@fb.com>
parents: 34313
diff changeset
990 default=60.0,
a667f0ca1d5f progress: make ETA only consider progress made in the last minute
Jun Wu <quark@fb.com>
parents: 34313
diff changeset
991 )
34746
54fa3db5becf configitems: register the 'progress.format' config
Boris Feld <boris.feld@octobus.net>
parents: 34738
diff changeset
992 coreconfigitem('progress', 'format',
54fa3db5becf configitems: register the 'progress.format' config
Boris Feld <boris.feld@octobus.net>
parents: 34738
diff changeset
993 default=lambda: ['topic', 'bar', 'number', 'estimate'],
54fa3db5becf configitems: register the 'progress.format' config
Boris Feld <boris.feld@octobus.net>
parents: 34738
diff changeset
994 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
995 coreconfigitem('progress', 'refresh',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
996 default=0.1,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
997 )
33473
b78c59e41a65 configitems: register the 'progress.width' config
Boris Feld <boris.feld@octobus.net>
parents: 33472
diff changeset
998 coreconfigitem('progress', 'width',
b78c59e41a65 configitems: register the 'progress.width' config
Boris Feld <boris.feld@octobus.net>
parents: 33472
diff changeset
999 default=dynamicdefault,
b78c59e41a65 configitems: register the 'progress.width' config
Boris Feld <boris.feld@octobus.net>
parents: 33472
diff changeset
1000 )
33835
057d31ceace3 pushvars: add a coreconfigitem for push.pushvars.server
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33772
diff changeset
1001 coreconfigitem('push', 'pushvars.server',
057d31ceace3 pushvars: add a coreconfigitem for push.pushvars.server
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33772
diff changeset
1002 default=False,
057d31ceace3 pushvars: add a coreconfigitem for push.pushvars.server
Pulkit Goyal <7895pulkit@gmail.com>
parents: 33772
diff changeset
1003 )
41206
6acbe86c6490 repair: move ui.history-editing-backup to [rewrite] section
Yuya Nishihara <yuya@tcha.org>
parents: 41120
diff changeset
1004 coreconfigitem('rewrite', 'backup-bundle',
6acbe86c6490 repair: move ui.history-editing-backup to [rewrite] section
Yuya Nishihara <yuya@tcha.org>
parents: 41120
diff changeset
1005 default=True,
6acbe86c6490 repair: move ui.history-editing-backup to [rewrite] section
Yuya Nishihara <yuya@tcha.org>
parents: 41120
diff changeset
1006 alias=[('ui', 'history-editing-backup')],
6acbe86c6490 repair: move ui.history-editing-backup to [rewrite] section
Yuya Nishihara <yuya@tcha.org>
parents: 41120
diff changeset
1007 )
41120
79f8f032c706 amend: add config option to update time to current in hg amend (issue5828)
Taapas Agrawal <taapas2897@gmail.com>
parents: 40999
diff changeset
1008 coreconfigitem('rewrite', 'update-timestamp',
79f8f032c706 amend: add config option to update time to current in hg amend (issue5828)
Taapas Agrawal <taapas2897@gmail.com>
parents: 40999
diff changeset
1009 default=False,
79f8f032c706 amend: add config option to update time to current in hg amend (issue5828)
Taapas Agrawal <taapas2897@gmail.com>
parents: 40999
diff changeset
1010 )
39996
dbcb466d0065 localrepo: define storage backend in creation options (API)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 39861
diff changeset
1011 coreconfigitem('storage', 'new-repo-backend',
dbcb466d0065 localrepo: define storage backend in creation options (API)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 39861
diff changeset
1012 default='revlogv1',
dbcb466d0065 localrepo: define storage backend in creation options (API)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 39861
diff changeset
1013 )
38744
ae17555ef93f config: rename `revlog` section into `storage`
Boris Feld <boris.feld@octobus.net>
parents: 38741
diff changeset
1014 coreconfigitem('storage', 'revlog.optimize-delta-parent-choice',
38737
913ca175c4ae aggressivemergedelta: document rename and move to `revlog` section
Boris Feld <boris.feld@octobus.net>
parents: 38733
diff changeset
1015 default=True,
38741
e90130af47ce configitems: restore alias for format.aggressivemergedeltas
Gregory Szorc <gregory.szorc@gmail.com>
parents: 38737
diff changeset
1016 alias=[('format', 'aggressivemergedeltas')],
38737
913ca175c4ae aggressivemergedelta: document rename and move to `revlog` section
Boris Feld <boris.feld@octobus.net>
parents: 38733
diff changeset
1017 )
41819
688fc33e105d storage: introduce a `revlog.reuse-external-delta` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 41818
diff changeset
1018 coreconfigitem('storage', 'revlog.reuse-external-delta',
688fc33e105d storage: introduce a `revlog.reuse-external-delta` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 41818
diff changeset
1019 default=True,
688fc33e105d storage: introduce a `revlog.reuse-external-delta` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 41818
diff changeset
1020 )
41818
f6eff9e4de80 storage: introduce a `revlog.reuse-external-delta-parent` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 41799
diff changeset
1021 coreconfigitem('storage', 'revlog.reuse-external-delta-parent',
f6eff9e4de80 storage: introduce a `revlog.reuse-external-delta-parent` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 41799
diff changeset
1022 default=None,
f6eff9e4de80 storage: introduce a `revlog.reuse-external-delta-parent` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 41799
diff changeset
1023 )
42043
1fac9b931d46 compression: introduce a `storage.revlog.zlib.level` configuration
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 41987
diff changeset
1024 coreconfigitem('storage', 'revlog.zlib.level',
1fac9b931d46 compression: introduce a `storage.revlog.zlib.level` configuration
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 41987
diff changeset
1025 default=None,
1fac9b931d46 compression: introduce a `storage.revlog.zlib.level` configuration
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 41987
diff changeset
1026 )
42044
bb271ec2fbfb compression: introduce a `storage.revlog.zstd.level` configuration
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42043
diff changeset
1027 coreconfigitem('storage', 'revlog.zstd.level',
bb271ec2fbfb compression: introduce a `storage.revlog.zstd.level` configuration
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42043
diff changeset
1028 default=None,
bb271ec2fbfb compression: introduce a `storage.revlog.zstd.level` configuration
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42043
diff changeset
1029 )
35261
f392066d127c bookmark: add pushkey hook compatiblity to the bundle2 part
Boris Feld <boris.feld@octobus.net>
parents: 35236
diff changeset
1030 coreconfigitem('server', 'bookmarks-pushkey-compat',
f392066d127c bookmark: add pushkey hook compatiblity to the bundle2 part
Boris Feld <boris.feld@octobus.net>
parents: 35236
diff changeset
1031 default=True,
f392066d127c bookmark: add pushkey hook compatiblity to the bundle2 part
Boris Feld <boris.feld@octobus.net>
parents: 35236
diff changeset
1032 )
33219
ffb1d0f541f5 configitems: register the 'server.bundle1' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33218
diff changeset
1033 coreconfigitem('server', 'bundle1',
ffb1d0f541f5 configitems: register the 'server.bundle1' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33218
diff changeset
1034 default=True,
ffb1d0f541f5 configitems: register the 'server.bundle1' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33218
diff changeset
1035 )
33220
40861b2254a5 configitems: register the 'server.bundle1gd' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33219
diff changeset
1036 coreconfigitem('server', 'bundle1gd',
40861b2254a5 configitems: register the 'server.bundle1gd' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33219
diff changeset
1037 default=None,
40861b2254a5 configitems: register the 'server.bundle1gd' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33219
diff changeset
1038 )
34613
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1039 coreconfigitem('server', 'bundle1.pull',
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1040 default=None,
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1041 )
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1042 coreconfigitem('server', 'bundle1gd.pull',
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1043 default=None,
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1044 )
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1045 coreconfigitem('server', 'bundle1.push',
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1046 default=None,
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1047 )
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1048 coreconfigitem('server', 'bundle1gd.push',
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1049 default=None,
5e61cd5fb0fc configitems: register the 'server.bundle*' family of config
Boris Feld <boris.feld@octobus.net>
parents: 34612
diff changeset
1050 )
39721
1b5880352314 bundle2: graduate bundle2.stream option from experimental to server section
Anton Shestakov <av6@dwimlabs.net>
parents: 39506
diff changeset
1051 coreconfigitem('server', 'bundle2.stream',
39722
4bd6e444c76f bundle2: make server.bundle2.stream default to True
Anton Shestakov <av6@dwimlabs.net>
parents: 39721
diff changeset
1052 default=True,
39721
1b5880352314 bundle2: graduate bundle2.stream option from experimental to server section
Anton Shestakov <av6@dwimlabs.net>
parents: 39506
diff changeset
1053 alias=[('experimental', 'bundle2.stream')]
1b5880352314 bundle2: graduate bundle2.stream option from experimental to server section
Anton Shestakov <av6@dwimlabs.net>
parents: 39506
diff changeset
1054 )
33221
4237398c67c0 configitems: register the 'server.compressionengines' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33220
diff changeset
1055 coreconfigitem('server', 'compressionengines',
4237398c67c0 configitems: register the 'server.compressionengines' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33220
diff changeset
1056 default=list,
4237398c67c0 configitems: register the 'server.compressionengines' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33220
diff changeset
1057 )
33222
593ad8df9dd2 configitems: register the 'server.concurrent-push-mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33221
diff changeset
1058 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
1059 default='strict',
593ad8df9dd2 configitems: register the 'server.concurrent-push-mode' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33221
diff changeset
1060 )
33223
d227451ee280 configitems: register the 'server.disablefullbundle' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33222
diff changeset
1061 coreconfigitem('server', 'disablefullbundle',
d227451ee280 configitems: register the 'server.disablefullbundle' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33222
diff changeset
1062 default=False,
d227451ee280 configitems: register the 'server.disablefullbundle' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33222
diff changeset
1063 )
38416
35b50237908b configitem: reorder items in the 'server' section
Boris Feld <boris.feld@octobus.net>
parents: 38260
diff changeset
1064 coreconfigitem('server', 'maxhttpheaderlen',
35b50237908b configitem: reorder items in the 'server' section
Boris Feld <boris.feld@octobus.net>
parents: 38260
diff changeset
1065 default=1024,
37414
2d965bfeb8f6 wireproto: allow direct stream processing for unbundle
Joerg Sonnenberger <joerg@bec.de>
parents: 37134
diff changeset
1066 )
37498
aacfca6f9767 wireproto: support for pullbundles
Joerg Sonnenberger <joerg@bec.de>
parents: 37414
diff changeset
1067 coreconfigitem('server', 'pullbundle',
aacfca6f9767 wireproto: support for pullbundles
Joerg Sonnenberger <joerg@bec.de>
parents: 37414
diff changeset
1068 default=False,
aacfca6f9767 wireproto: support for pullbundles
Joerg Sonnenberger <joerg@bec.de>
parents: 37414
diff changeset
1069 )
38416
35b50237908b configitem: reorder items in the 'server' section
Boris Feld <boris.feld@octobus.net>
parents: 38260
diff changeset
1070 coreconfigitem('server', 'preferuncompressed',
35b50237908b configitem: reorder items in the 'server' section
Boris Feld <boris.feld@octobus.net>
parents: 38260
diff changeset
1071 default=False,
33224
ab9121fda8d2 configitems: register the 'server.maxhttpheaderlen' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33223
diff changeset
1072 )
38416
35b50237908b configitem: reorder items in the 'server' section
Boris Feld <boris.feld@octobus.net>
parents: 38260
diff changeset
1073 coreconfigitem('server', 'streamunbundle',
33225
90a1b62bdc91 configitems: register the 'server.preferuncompressed' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33224
diff changeset
1074 default=False,
90a1b62bdc91 configitems: register the 'server.preferuncompressed' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33224
diff changeset
1075 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1076 coreconfigitem('server', 'uncompressed',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1077 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1078 )
33226
b045344fe35e configitems: register the 'server.uncompressedallowsecret' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33225
diff changeset
1079 coreconfigitem('server', 'uncompressedallowsecret',
b045344fe35e configitems: register the 'server.uncompressedallowsecret' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33225
diff changeset
1080 default=False,
b045344fe35e configitems: register the 'server.uncompressedallowsecret' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33225
diff changeset
1081 )
41840
d6569f1e9b37 server: allow customizing the default repo filter
Joerg Sonnenberger <joerg@bec.de>
parents: 41819
diff changeset
1082 coreconfigitem('server', 'view',
d6569f1e9b37 server: allow customizing the default repo filter
Joerg Sonnenberger <joerg@bec.de>
parents: 41819
diff changeset
1083 default='served',
d6569f1e9b37 server: allow customizing the default repo filter
Joerg Sonnenberger <joerg@bec.de>
parents: 41819
diff changeset
1084 )
33227
86c9aa1d598f configitems: register the 'server.validate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33226
diff changeset
1085 coreconfigitem('server', 'validate',
86c9aa1d598f configitems: register the 'server.validate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33226
diff changeset
1086 default=False,
86c9aa1d598f configitems: register the 'server.validate' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33226
diff changeset
1087 )
33228
35c233975b78 configitems: register the 'server.zliblevel' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33227
diff changeset
1088 coreconfigitem('server', 'zliblevel',
35c233975b78 configitems: register the 'server.zliblevel' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33227
diff changeset
1089 default=-1,
35c233975b78 configitems: register the 'server.zliblevel' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33227
diff changeset
1090 )
37710
0a5fe2a08e82 configitems: register server.zstdlevel
Matt Harbison <matt_harbison@yahoo.com>
parents: 37558
diff changeset
1091 coreconfigitem('server', 'zstdlevel',
0a5fe2a08e82 configitems: register server.zstdlevel
Matt Harbison <matt_harbison@yahoo.com>
parents: 37558
diff changeset
1092 default=3,
0a5fe2a08e82 configitems: register server.zstdlevel
Matt Harbison <matt_harbison@yahoo.com>
parents: 37558
diff changeset
1093 )
34982
0f5521e56b77 share: move config item declarations into core
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34942
diff changeset
1094 coreconfigitem('share', 'pool',
0f5521e56b77 share: move config item declarations into core
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34942
diff changeset
1095 default=None,
0f5521e56b77 share: move config item declarations into core
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34942
diff changeset
1096 )
0f5521e56b77 share: move config item declarations into core
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34942
diff changeset
1097 coreconfigitem('share', 'poolnaming',
0f5521e56b77 share: move config item declarations into core
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34942
diff changeset
1098 default='identity',
0f5521e56b77 share: move config item declarations into core
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34942
diff changeset
1099 )
42541
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 42423
diff changeset
1100 coreconfigitem('shelve','maxbackups',
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 42423
diff changeset
1101 default=10,
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 42423
diff changeset
1102 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1103 coreconfigitem('smtp', 'host',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1104 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1105 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1106 coreconfigitem('smtp', 'local_hostname',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1107 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1108 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1109 coreconfigitem('smtp', 'password',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1110 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1111 )
34477
a27718efb290 configitems: register the 'smtp.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34476
diff changeset
1112 coreconfigitem('smtp', 'port',
a27718efb290 configitems: register the 'smtp.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34476
diff changeset
1113 default=dynamicdefault,
a27718efb290 configitems: register the 'smtp.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34476
diff changeset
1114 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1115 coreconfigitem('smtp', 'tls',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1116 default='none',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1117 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1118 coreconfigitem('smtp', 'username',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1119 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1120 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1121 coreconfigitem('sparse', 'missingwarning',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1122 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1123 )
34985
5e27afeddaee subrepo: add config option to reject any subrepo operations (SEC)
Yuya Nishihara <yuya@tcha.org>
parents: 34942
diff changeset
1124 coreconfigitem('subrepos', 'allowed',
5e27afeddaee subrepo: add config option to reject any subrepo operations (SEC)
Yuya Nishihara <yuya@tcha.org>
parents: 34942
diff changeset
1125 default=dynamicdefault, # to make backporting simpler
5e27afeddaee subrepo: add config option to reject any subrepo operations (SEC)
Yuya Nishihara <yuya@tcha.org>
parents: 34942
diff changeset
1126 )
34989
1a314176da9c subrepo: use per-type config options to enable subrepos
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34985
diff changeset
1127 coreconfigitem('subrepos', 'hg:allowed',
1a314176da9c subrepo: use per-type config options to enable subrepos
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34985
diff changeset
1128 default=dynamicdefault,
1a314176da9c subrepo: use per-type config options to enable subrepos
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34985
diff changeset
1129 )
1a314176da9c subrepo: use per-type config options to enable subrepos
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34985
diff changeset
1130 coreconfigitem('subrepos', 'git:allowed',
1a314176da9c subrepo: use per-type config options to enable subrepos
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34985
diff changeset
1131 default=dynamicdefault,
1a314176da9c subrepo: use per-type config options to enable subrepos
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34985
diff changeset
1132 )
1a314176da9c subrepo: use per-type config options to enable subrepos
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34985
diff changeset
1133 coreconfigitem('subrepos', 'svn:allowed',
1a314176da9c subrepo: use per-type config options to enable subrepos
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34985
diff changeset
1134 default=dynamicdefault,
1a314176da9c subrepo: use per-type config options to enable subrepos
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34985
diff changeset
1135 )
34671
16d73491416b configitems: register the 'templates' section
Boris Feld <boris.feld@octobus.net>
parents: 34670
diff changeset
1136 coreconfigitem('templates', '.*',
16d73491416b configitems: register the 'templates' section
Boris Feld <boris.feld@octobus.net>
parents: 34670
diff changeset
1137 default=None,
16d73491416b configitems: register the 'templates' section
Boris Feld <boris.feld@octobus.net>
parents: 34670
diff changeset
1138 generic=True,
16d73491416b configitems: register the 'templates' section
Boris Feld <boris.feld@octobus.net>
parents: 34670
diff changeset
1139 )
41720
6704696141b8 templates: adding a config() function for template customization
rdamazio@google.com
parents: 41575
diff changeset
1140 coreconfigitem('templateconfig', '.*',
6704696141b8 templates: adding a config() function for template customization
rdamazio@google.com
parents: 41575
diff changeset
1141 default=dynamicdefault,
6704696141b8 templates: adding a config() function for template customization
rdamazio@google.com
parents: 41575
diff changeset
1142 generic=True,
6704696141b8 templates: adding a config() function for template customization
rdamazio@google.com
parents: 41575
diff changeset
1143 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1144 coreconfigitem('trusted', 'groups',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1145 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1146 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1147 coreconfigitem('trusted', 'users',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1148 default=list,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1149 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1150 coreconfigitem('ui', '_usedassubrepo',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1151 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1152 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1153 coreconfigitem('ui', 'allowemptycommit',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1154 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1155 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1156 coreconfigitem('ui', 'archivemeta',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1157 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1158 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1159 coreconfigitem('ui', 'askusername',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1160 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1161 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1162 coreconfigitem('ui', 'clonebundlefallback',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1163 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1164 )
32991
03608e8d09e9 configitems: register 'ui.clonebundleprefers' as example for 'configlist'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32990
diff changeset
1165 coreconfigitem('ui', 'clonebundleprefers',
33150
77e666f943a6 configitems: support callable as a default value
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33133
diff changeset
1166 default=list,
32991
03608e8d09e9 configitems: register 'ui.clonebundleprefers' as example for 'configlist'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32990
diff changeset
1167 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1168 coreconfigitem('ui', 'clonebundles',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1169 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1170 )
33522
62b29ca72d1a configitems: register the 'ui.color' config
Boris Feld <boris.feld@octobus.net>
parents: 33520
diff changeset
1171 coreconfigitem('ui', 'color',
62b29ca72d1a configitems: register the 'ui.color' config
Boris Feld <boris.feld@octobus.net>
parents: 33520
diff changeset
1172 default='auto',
62b29ca72d1a configitems: register the 'ui.color' config
Boris Feld <boris.feld@octobus.net>
parents: 33520
diff changeset
1173 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1174 coreconfigitem('ui', 'commitsubrepos',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1175 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1176 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1177 coreconfigitem('ui', 'debug',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1178 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1179 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1180 coreconfigitem('ui', 'debugger',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1181 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1182 )
34916
346781c41597 configitems: register 'ui.editor'
Yuya Nishihara <yuya@tcha.org>
parents: 34911
diff changeset
1183 coreconfigitem('ui', 'editor',
346781c41597 configitems: register 'ui.editor'
Yuya Nishihara <yuya@tcha.org>
parents: 34911
diff changeset
1184 default=dynamicdefault,
346781c41597 configitems: register 'ui.editor'
Yuya Nishihara <yuya@tcha.org>
parents: 34911
diff changeset
1185 )
33519
3b7e36f7e632 configitems: register the 'ui.fallbackencoding' config
Boris Feld <boris.feld@octobus.net>
parents: 33499
diff changeset
1186 coreconfigitem('ui', 'fallbackencoding',
3b7e36f7e632 configitems: register the 'ui.fallbackencoding' config
Boris Feld <boris.feld@octobus.net>
parents: 33499
diff changeset
1187 default=None,
3b7e36f7e632 configitems: register the 'ui.fallbackencoding' config
Boris Feld <boris.feld@octobus.net>
parents: 33499
diff changeset
1188 )
33520
6e19198cbe31 configitems: register the 'ui.forcecwd' config
Boris Feld <boris.feld@octobus.net>
parents: 33519
diff changeset
1189 coreconfigitem('ui', 'forcecwd',
6e19198cbe31 configitems: register the 'ui.forcecwd' config
Boris Feld <boris.feld@octobus.net>
parents: 33519
diff changeset
1190 default=None,
6e19198cbe31 configitems: register the 'ui.forcecwd' config
Boris Feld <boris.feld@octobus.net>
parents: 33519
diff changeset
1191 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1192 coreconfigitem('ui', 'forcemerge',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1193 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1194 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1195 coreconfigitem('ui', 'formatdebug',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1196 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1197 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1198 coreconfigitem('ui', 'formatjson',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1199 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1200 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1201 coreconfigitem('ui', 'formatted',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1202 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1203 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1204 coreconfigitem('ui', 'graphnodetemplate',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1205 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1206 )
33061
c41cbe98822c configitems: register 'ui.interactive'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32991
diff changeset
1207 coreconfigitem('ui', 'interactive',
c41cbe98822c configitems: register 'ui.interactive'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32991
diff changeset
1208 default=None,
c41cbe98822c configitems: register 'ui.interactive'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32991
diff changeset
1209 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1210 coreconfigitem('ui', 'interface',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1211 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1212 )
34616
c0dabec35019 configitems: register the 'ui.interface.chunkselector' config
Boris Feld <boris.feld@octobus.net>
parents: 34615
diff changeset
1213 coreconfigitem('ui', 'interface.chunkselector',
c0dabec35019 configitems: register the 'ui.interface.chunkselector' config
Boris Feld <boris.feld@octobus.net>
parents: 34615
diff changeset
1214 default=None,
c0dabec35019 configitems: register the 'ui.interface.chunkselector' config
Boris Feld <boris.feld@octobus.net>
parents: 34615
diff changeset
1215 )
38600
a936d1368fc5 ui: make the large file warning limit fully configurable
Joerg Sonnenberger <joerg@bec.de>
parents: 38591
diff changeset
1216 coreconfigitem('ui', 'large-file-limit',
a936d1368fc5 ui: make the large file warning limit fully configurable
Joerg Sonnenberger <joerg@bec.de>
parents: 38591
diff changeset
1217 default=10000000,
a936d1368fc5 ui: make the large file warning limit fully configurable
Joerg Sonnenberger <joerg@bec.de>
parents: 38591
diff changeset
1218 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1219 coreconfigitem('ui', 'logblockedtimes',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1220 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1221 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1222 coreconfigitem('ui', 'logtemplate',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1223 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1224 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1225 coreconfigitem('ui', 'merge',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1226 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1227 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1228 coreconfigitem('ui', 'mergemarkers',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1229 default='basic',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1230 )
33523
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
1231 coreconfigitem('ui', 'mergemarkertemplate',
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
1232 default=('{node|short} '
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
1233 '{ifeq(tags, "tip", "", '
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
1234 'ifeq(tags, "", "", "{tags} "))}'
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
1235 '{if(bookmarks, "{bookmarks} ")}'
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
1236 '{ifeq(branch, "default", "", "{branch} ")}'
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
1237 '- {author|user}: {desc|firstline}')
11025c4f1016 configitems: register the 'ui.mergemarkertemplate' config
Boris Feld <boris.feld@octobus.net>
parents: 33522
diff changeset
1238 )
40547
840cd57cde32 ui: add config knob to redirect status messages to stderr (API)
Yuya Nishihara <yuya@tcha.org>
parents: 40478
diff changeset
1239 coreconfigitem('ui', 'message-output',
840cd57cde32 ui: add config knob to redirect status messages to stderr (API)
Yuya Nishihara <yuya@tcha.org>
parents: 40478
diff changeset
1240 default='stdio',
840cd57cde32 ui: add config knob to redirect status messages to stderr (API)
Yuya Nishihara <yuya@tcha.org>
parents: 40478
diff changeset
1241 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1242 coreconfigitem('ui', 'nontty',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1243 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1244 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1245 coreconfigitem('ui', 'origbackuppath',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1246 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1247 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1248 coreconfigitem('ui', 'paginate',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1249 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1250 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1251 coreconfigitem('ui', 'patch',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1252 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1253 )
40478
86dfae98a3a2 merge-tools: when calling external merge tool, describe the resolve inputs
Kyle Lippincott <spectral@google.com>
parents: 40460
diff changeset
1254 coreconfigitem('ui', 'pre-merge-tool-output-template',
86dfae98a3a2 merge-tools: when calling external merge tool, describe the resolve inputs
Kyle Lippincott <spectral@google.com>
parents: 40460
diff changeset
1255 default=None,
86dfae98a3a2 merge-tools: when calling external merge tool, describe the resolve inputs
Kyle Lippincott <spectral@google.com>
parents: 40460
diff changeset
1256 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1257 coreconfigitem('ui', 'portablefilenames',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1258 default='warn',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1259 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1260 coreconfigitem('ui', 'promptecho',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1261 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1262 )
32986
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
1263 coreconfigitem('ui', 'quiet',
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
1264 default=False,
2529e2ae9f4c configitems: register 'ui.quiet' as first example
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32984
diff changeset
1265 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1266 coreconfigitem('ui', 'quietbookmarkmove',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1267 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1268 )
41492
02186c6871ac status: introduce higher-level ui.relative-paths
Martin von Zweigbergk <martinvonz@google.com>
parents: 41296
diff changeset
1269 coreconfigitem('ui', 'relative-paths',
41575
aec185af621e config: introduce a new value for ui.relative-paths getting old behavior
Martin von Zweigbergk <martinvonz@google.com>
parents: 41560
diff changeset
1270 default='legacy',
41492
02186c6871ac status: introduce higher-level ui.relative-paths
Martin von Zweigbergk <martinvonz@google.com>
parents: 41296
diff changeset
1271 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1272 coreconfigitem('ui', 'remotecmd',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1273 default='hg',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1274 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1275 coreconfigitem('ui', 'report_untrusted',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1276 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1277 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1278 coreconfigitem('ui', 'rollback',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1279 default=True,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1280 )
38038
8c828beb7543 lock: add internal config to not replace signal handlers while locking
Yuya Nishihara <yuya@tcha.org>
parents: 37769
diff changeset
1281 coreconfigitem('ui', 'signal-safe-lock',
8c828beb7543 lock: add internal config to not replace signal handlers while locking
Yuya Nishihara <yuya@tcha.org>
parents: 37769
diff changeset
1282 default=True,
8c828beb7543 lock: add internal config to not replace signal handlers while locking
Yuya Nishihara <yuya@tcha.org>
parents: 37769
diff changeset
1283 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1284 coreconfigitem('ui', 'slash',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1285 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1286 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1287 coreconfigitem('ui', 'ssh',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1288 default='ssh',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1289 )
35108
8b1c887d52e7 sshpeer: add a configurable hint for the ssh error message
Zuzanna Mroczek <zuza@fb.com>
parents: 35038
diff changeset
1290 coreconfigitem('ui', 'ssherrorhint',
8b1c887d52e7 sshpeer: add a configurable hint for the ssh error message
Zuzanna Mroczek <zuza@fb.com>
parents: 35038
diff changeset
1291 default=None,
8b1c887d52e7 sshpeer: add a configurable hint for the ssh error message
Zuzanna Mroczek <zuza@fb.com>
parents: 35038
diff changeset
1292 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1293 coreconfigitem('ui', 'statuscopies',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1294 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1295 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1296 coreconfigitem('ui', 'strict',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1297 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1298 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1299 coreconfigitem('ui', 'style',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1300 default='',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1301 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1302 coreconfigitem('ui', 'supportcontact',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1303 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1304 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1305 coreconfigitem('ui', 'textwidth',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1306 default=78,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1307 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1308 coreconfigitem('ui', 'timeout',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1309 default='600',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1310 )
35209
9153871d50e0 lock: allow to configure when the lock messages are displayed
Boris Feld <boris.feld@octobus.net>
parents: 35185
diff changeset
1311 coreconfigitem('ui', 'timeout.warn',
9153871d50e0 lock: allow to configure when the lock messages are displayed
Boris Feld <boris.feld@octobus.net>
parents: 35185
diff changeset
1312 default=0,
9153871d50e0 lock: allow to configure when the lock messages are displayed
Boris Feld <boris.feld@octobus.net>
parents: 35185
diff changeset
1313 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1314 coreconfigitem('ui', 'traceback',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1315 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1316 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1317 coreconfigitem('ui', 'tweakdefaults',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1318 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1319 )
33329
e714159860fd configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents: 33250
diff changeset
1320 coreconfigitem('ui', 'username',
e714159860fd configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents: 33250
diff changeset
1321 alias=[('ui', 'user')]
e714159860fd configitems: add alias support in config
David Demelier <demelier.david@gmail.com>
parents: 33250
diff changeset
1322 )
33499
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1323 coreconfigitem('ui', 'verbose',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1324 default=False,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1325 )
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1326 coreconfigitem('verify', 'skipflags',
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1327 default=None,
0407a51b9d8c codemod: register core configitems using a script
Jun Wu <quark@fb.com>
parents: 33474
diff changeset
1328 )
34600
2d07d20d5a78 configitems: register the 'web.allowbz2' config
Boris Feld <boris.feld@octobus.net>
parents: 34599
diff changeset
1329 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
1330 default=False,
34600
2d07d20d5a78 configitems: register the 'web.allowbz2' config
Boris Feld <boris.feld@octobus.net>
parents: 34599
diff changeset
1331 )
34601
8f4d54b74206 configitems: register the 'web.allowgz' config
Boris Feld <boris.feld@octobus.net>
parents: 34600
diff changeset
1332 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
1333 default=False,
34601
8f4d54b74206 configitems: register the 'web.allowgz' config
Boris Feld <boris.feld@octobus.net>
parents: 34600
diff changeset
1334 )
35037
da5d5ea7d696 config: rename allowpull to allow-pull
David Demelier <markand@malikania.fr>
parents: 34996
diff changeset
1335 coreconfigitem('web', 'allow-pull',
da5d5ea7d696 config: rename allowpull to allow-pull
David Demelier <markand@malikania.fr>
parents: 34996
diff changeset
1336 alias=[('web', 'allowpull')],
34602
56816cfc4951 configitems: register the 'web.allowpull' config
Boris Feld <boris.feld@octobus.net>
parents: 34601
diff changeset
1337 default=True,
56816cfc4951 configitems: register the 'web.allowpull' config
Boris Feld <boris.feld@octobus.net>
parents: 34601
diff changeset
1338 )
35038
6ef744a7df65 config: rename allow_push to allow-push
David Demelier <markand@malikania.fr>
parents: 35037
diff changeset
1339 coreconfigitem('web', 'allow-push',
6ef744a7df65 config: rename allow_push to allow-push
David Demelier <markand@malikania.fr>
parents: 35037
diff changeset
1340 alias=[('web', 'allow_push')],
34603
cc5445ced177 configitems: register the 'web.allow_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34602
diff changeset
1341 default=list,
cc5445ced177 configitems: register the 'web.allow_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34602
diff changeset
1342 )
34604
dcd6b6625e98 configitems: register the 'web.allowzip' config
Boris Feld <boris.feld@octobus.net>
parents: 34603
diff changeset
1343 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
1344 default=False,
34604
dcd6b6625e98 configitems: register the 'web.allowzip' config
Boris Feld <boris.feld@octobus.net>
parents: 34603
diff changeset
1345 )
34828
46610c851216 configitems: register the 'web.archivesubrepos' config
Boris Feld <boris.feld@octobus.net>
parents: 34827
diff changeset
1346 coreconfigitem('web', 'archivesubrepos',
46610c851216 configitems: register the 'web.archivesubrepos' config
Boris Feld <boris.feld@octobus.net>
parents: 34827
diff changeset
1347 default=False,
46610c851216 configitems: register the 'web.archivesubrepos' config
Boris Feld <boris.feld@octobus.net>
parents: 34827
diff changeset
1348 )
34605
625202a44d88 configitems: register the 'web.cache' config
Boris Feld <boris.feld@octobus.net>
parents: 34604
diff changeset
1349 coreconfigitem('web', 'cache',
625202a44d88 configitems: register the 'web.cache' config
Boris Feld <boris.feld@octobus.net>
parents: 34604
diff changeset
1350 default=True,
625202a44d88 configitems: register the 'web.cache' config
Boris Feld <boris.feld@octobus.net>
parents: 34604
diff changeset
1351 )
40820
4265bfb53dd3 hgweb: register web.comparisoncontext to the config table
Matt Harbison <matt_harbison@yahoo.com>
parents: 40429
diff changeset
1352 coreconfigitem('web', 'comparisoncontext',
4265bfb53dd3 hgweb: register web.comparisoncontext to the config table
Matt Harbison <matt_harbison@yahoo.com>
parents: 40429
diff changeset
1353 default=5,
4265bfb53dd3 hgweb: register web.comparisoncontext to the config table
Matt Harbison <matt_harbison@yahoo.com>
parents: 40429
diff changeset
1354 )
34606
db935a5ea364 configitems: register the 'web.contact' config
Boris Feld <boris.feld@octobus.net>
parents: 34605
diff changeset
1355 coreconfigitem('web', 'contact',
db935a5ea364 configitems: register the 'web.contact' config
Boris Feld <boris.feld@octobus.net>
parents: 34605
diff changeset
1356 default=None,
db935a5ea364 configitems: register the 'web.contact' config
Boris Feld <boris.feld@octobus.net>
parents: 34605
diff changeset
1357 )
34607
3e6b36ba16ac configitems: register the 'web.deny_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34606
diff changeset
1358 coreconfigitem('web', 'deny_push',
3e6b36ba16ac configitems: register the 'web.deny_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34606
diff changeset
1359 default=list,
3e6b36ba16ac configitems: register the 'web.deny_push' config
Boris Feld <boris.feld@octobus.net>
parents: 34606
diff changeset
1360 )
34608
f12de15c5711 configitems: register the 'web.guessmime' config
Boris Feld <boris.feld@octobus.net>
parents: 34607
diff changeset
1361 coreconfigitem('web', 'guessmime',
f12de15c5711 configitems: register the 'web.guessmime' config
Boris Feld <boris.feld@octobus.net>
parents: 34607
diff changeset
1362 default=False,
f12de15c5711 configitems: register the 'web.guessmime' config
Boris Feld <boris.feld@octobus.net>
parents: 34607
diff changeset
1363 )
34609
9d97487514c7 configitems: register the 'web.hidden' config
Boris Feld <boris.feld@octobus.net>
parents: 34608
diff changeset
1364 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
1365 default=False,
34609
9d97487514c7 configitems: register the 'web.hidden' config
Boris Feld <boris.feld@octobus.net>
parents: 34608
diff changeset
1366 )
34610
f3e090d0c6d6 configitems: register the 'web.labels' config
Boris Feld <boris.feld@octobus.net>
parents: 34609
diff changeset
1367 coreconfigitem('web', 'labels',
f3e090d0c6d6 configitems: register the 'web.labels' config
Boris Feld <boris.feld@octobus.net>
parents: 34609
diff changeset
1368 default=list,
f3e090d0c6d6 configitems: register the 'web.labels' config
Boris Feld <boris.feld@octobus.net>
parents: 34609
diff changeset
1369 )
34611
c879fc7bd71f configitems: register the 'web.logoimg' config
Boris Feld <boris.feld@octobus.net>
parents: 34610
diff changeset
1370 coreconfigitem('web', 'logoimg',
c879fc7bd71f configitems: register the 'web.logoimg' config
Boris Feld <boris.feld@octobus.net>
parents: 34610
diff changeset
1371 default='hglogo.png',
c879fc7bd71f configitems: register the 'web.logoimg' config
Boris Feld <boris.feld@octobus.net>
parents: 34610
diff changeset
1372 )
34612
c2cb6be4212f configitems: register the 'web.logourl' config
Boris Feld <boris.feld@octobus.net>
parents: 34611
diff changeset
1373 coreconfigitem('web', 'logourl',
c2cb6be4212f configitems: register the 'web.logourl' config
Boris Feld <boris.feld@octobus.net>
parents: 34611
diff changeset
1374 default='https://mercurial-scm.org/',
c2cb6be4212f configitems: register the 'web.logourl' config
Boris Feld <boris.feld@octobus.net>
parents: 34611
diff changeset
1375 )
34227
ac96ff471c9a configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net>
parents: 34077
diff changeset
1376 coreconfigitem('web', 'accesslog',
ac96ff471c9a configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net>
parents: 34077
diff changeset
1377 default='-',
ac96ff471c9a configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net>
parents: 34077
diff changeset
1378 )
34228
af4f0c74f8b5 configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net>
parents: 34227
diff changeset
1379 coreconfigitem('web', 'address',
af4f0c74f8b5 configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net>
parents: 34227
diff changeset
1380 default='',
af4f0c74f8b5 configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net>
parents: 34227
diff changeset
1381 )
38215
f715faeaceee config: rename allow_archive to allow-archive
David Demelier <markand@malikania.fr>
parents: 38100
diff changeset
1382 coreconfigitem('web', 'allow-archive',
f715faeaceee config: rename allow_archive to allow-archive
David Demelier <markand@malikania.fr>
parents: 38100
diff changeset
1383 alias=[('web', 'allow_archive')],
34229
6742e18e41f0 configitems: register the 'web.allow_archive' config
Boris Feld <boris.feld@octobus.net>
parents: 34228
diff changeset
1384 default=list,
6742e18e41f0 configitems: register the 'web.allow_archive' config
Boris Feld <boris.feld@octobus.net>
parents: 34228
diff changeset
1385 )
34230
b0a567017647 configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34229
diff changeset
1386 coreconfigitem('web', 'allow_read',
b0a567017647 configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34229
diff changeset
1387 default=list,
b0a567017647 configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34229
diff changeset
1388 )
34231
4a192d70502e configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net>
parents: 34230
diff changeset
1389 coreconfigitem('web', 'baseurl',
4a192d70502e configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net>
parents: 34230
diff changeset
1390 default=None,
4a192d70502e configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net>
parents: 34230
diff changeset
1391 )
34232
f33904b8bb77 configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net>
parents: 34231
diff changeset
1392 coreconfigitem('web', 'cacerts',
f33904b8bb77 configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net>
parents: 34231
diff changeset
1393 default=None,
f33904b8bb77 configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net>
parents: 34231
diff changeset
1394 )
34233
25b24a3e5a9e configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net>
parents: 34232
diff changeset
1395 coreconfigitem('web', 'certificate',
25b24a3e5a9e configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net>
parents: 34232
diff changeset
1396 default=None,
25b24a3e5a9e configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net>
parents: 34232
diff changeset
1397 )
34234
f6d25ffc8b7f configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net>
parents: 34233
diff changeset
1398 coreconfigitem('web', 'collapse',
f6d25ffc8b7f configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net>
parents: 34233
diff changeset
1399 default=False,
f6d25ffc8b7f configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net>
parents: 34233
diff changeset
1400 )
34235
147104631eac configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net>
parents: 34234
diff changeset
1401 coreconfigitem('web', 'csp',
147104631eac configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net>
parents: 34234
diff changeset
1402 default=None,
147104631eac configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net>
parents: 34234
diff changeset
1403 )
34236
9becd05476b8 configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34235
diff changeset
1404 coreconfigitem('web', 'deny_read',
9becd05476b8 configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34235
diff changeset
1405 default=list,
9becd05476b8 configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net>
parents: 34235
diff changeset
1406 )
34237
131f8cd2c2b4 configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net>
parents: 34236
diff changeset
1407 coreconfigitem('web', 'descend',
131f8cd2c2b4 configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net>
parents: 34236
diff changeset
1408 default=True,
131f8cd2c2b4 configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net>
parents: 34236
diff changeset
1409 )
34238
a6c18628dff1 configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net>
parents: 34237
diff changeset
1410 coreconfigitem('web', 'description',
a6c18628dff1 configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net>
parents: 34237
diff changeset
1411 default="",
a6c18628dff1 configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net>
parents: 34237
diff changeset
1412 )
34239
344fd1fe237b configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents: 34238
diff changeset
1413 coreconfigitem('web', 'encoding',
344fd1fe237b configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents: 34238
diff changeset
1414 default=lambda: encoding.encoding,
344fd1fe237b configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net>
parents: 34238
diff changeset
1415 )
34240
c97a750c28a5 configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net>
parents: 34239
diff changeset
1416 coreconfigitem('web', 'errorlog',
c97a750c28a5 configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net>
parents: 34239
diff changeset
1417 default='-',
c97a750c28a5 configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net>
parents: 34239
diff changeset
1418 )
34241
98fa9183de54 configitems: register the 'web.ipv6' config
Boris Feld <boris.feld@octobus.net>
parents: 34240
diff changeset
1419 coreconfigitem('web', 'ipv6',
98fa9183de54 configitems: register the 'web.ipv6' config
Boris Feld <boris.feld@octobus.net>
parents: 34240
diff changeset
1420 default=False,
98fa9183de54 configitems: register the 'web.ipv6' config
Boris Feld <boris.feld@octobus.net>
parents: 34240
diff changeset
1421 )
34590
95f4e5b1ec92 configitems: register the 'web.maxchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34589
diff changeset
1422 coreconfigitem('web', 'maxchanges',
95f4e5b1ec92 configitems: register the 'web.maxchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34589
diff changeset
1423 default=10,
95f4e5b1ec92 configitems: register the 'web.maxchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34589
diff changeset
1424 )
34589
883d06211973 configitems: register the 'web.maxfiles' config
Boris Feld <boris.feld@octobus.net>
parents: 34588
diff changeset
1425 coreconfigitem('web', 'maxfiles',
883d06211973 configitems: register the 'web.maxfiles' config
Boris Feld <boris.feld@octobus.net>
parents: 34588
diff changeset
1426 default=10,
883d06211973 configitems: register the 'web.maxfiles' config
Boris Feld <boris.feld@octobus.net>
parents: 34588
diff changeset
1427 )
34588
0d9928a67254 configitems: register the 'web.maxshortchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34587
diff changeset
1428 coreconfigitem('web', 'maxshortchanges',
0d9928a67254 configitems: register the 'web.maxshortchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34587
diff changeset
1429 default=60,
0d9928a67254 configitems: register the 'web.maxshortchanges' config
Boris Feld <boris.feld@octobus.net>
parents: 34587
diff changeset
1430 )
34587
b50c036494dc configitems: register the 'web.motd' config
Boris Feld <boris.feld@octobus.net>
parents: 34586
diff changeset
1431 coreconfigitem('web', 'motd',
b50c036494dc configitems: register the 'web.motd' config
Boris Feld <boris.feld@octobus.net>
parents: 34586
diff changeset
1432 default='',
b50c036494dc configitems: register the 'web.motd' config
Boris Feld <boris.feld@octobus.net>
parents: 34586
diff changeset
1433 )
34586
c364f3f73634 configitems: register the 'web.name' config
Boris Feld <boris.feld@octobus.net>
parents: 34585
diff changeset
1434 coreconfigitem('web', 'name',
c364f3f73634 configitems: register the 'web.name' config
Boris Feld <boris.feld@octobus.net>
parents: 34585
diff changeset
1435 default=dynamicdefault,
c364f3f73634 configitems: register the 'web.name' config
Boris Feld <boris.feld@octobus.net>
parents: 34585
diff changeset
1436 )
34242
e2d633f8ee65 configitems: register the 'web.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34241
diff changeset
1437 coreconfigitem('web', 'port',
e2d633f8ee65 configitems: register the 'web.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34241
diff changeset
1438 default=8000,
e2d633f8ee65 configitems: register the 'web.port' config
Boris Feld <boris.feld@octobus.net>
parents: 34241
diff changeset
1439 )
34243
d24816dfdcff configitems: register the 'web.prefix' config
Boris Feld <boris.feld@octobus.net>
parents: 34242
diff changeset
1440 coreconfigitem('web', 'prefix',
d24816dfdcff configitems: register the 'web.prefix' config
Boris Feld <boris.feld@octobus.net>
parents: 34242
diff changeset
1441 default='',
d24816dfdcff configitems: register the 'web.prefix' config
Boris Feld <boris.feld@octobus.net>
parents: 34242
diff changeset
1442 )
34585
f28c85e29afc configitems: register the 'web.push_ssl' config
Boris Feld <boris.feld@octobus.net>
parents: 34584
diff changeset
1443 coreconfigitem('web', 'push_ssl',
f28c85e29afc configitems: register the 'web.push_ssl' config
Boris Feld <boris.feld@octobus.net>
parents: 34584
diff changeset
1444 default=True,
f28c85e29afc configitems: register the 'web.push_ssl' config
Boris Feld <boris.feld@octobus.net>
parents: 34584
diff changeset
1445 )
34244
fe5202bef5ce configitems: register the 'web.refreshinterval' config
Boris Feld <boris.feld@octobus.net>
parents: 34243
diff changeset
1446 coreconfigitem('web', 'refreshinterval',
fe5202bef5ce configitems: register the 'web.refreshinterval' config
Boris Feld <boris.feld@octobus.net>
parents: 34243
diff changeset
1447 default=20,
fe5202bef5ce configitems: register the 'web.refreshinterval' config
Boris Feld <boris.feld@octobus.net>
parents: 34243
diff changeset
1448 )
37009
5890e5872f36 hgweb: allow defining Server response header for HTTP server
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36999
diff changeset
1449 coreconfigitem('web', 'server-header',
5890e5872f36 hgweb: allow defining Server response header for HTTP server
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36999
diff changeset
1450 default=None,
5890e5872f36 hgweb: allow defining Server response header for HTTP server
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36999
diff changeset
1451 )
39793
536f22d6c2c5 hgweb: register web.static to the config table
Yuya Nishihara <yuya@tcha.org>
parents: 39722
diff changeset
1452 coreconfigitem('web', 'static',
536f22d6c2c5 hgweb: register web.static to the config table
Yuya Nishihara <yuya@tcha.org>
parents: 39722
diff changeset
1453 default=None,
536f22d6c2c5 hgweb: register web.static to the config table
Yuya Nishihara <yuya@tcha.org>
parents: 39722
diff changeset
1454 )
34759
cd7bf9ad0e69 configitems: register the 'web.staticurl' config
Boris Feld <boris.feld@octobus.net>
parents: 34751
diff changeset
1455 coreconfigitem('web', 'staticurl',
cd7bf9ad0e69 configitems: register the 'web.staticurl' config
Boris Feld <boris.feld@octobus.net>
parents: 34751
diff changeset
1456 default=None,
cd7bf9ad0e69 configitems: register the 'web.staticurl' config
Boris Feld <boris.feld@octobus.net>
parents: 34751
diff changeset
1457 )
34245
945c9816ec1d configitems: register the 'web.stripes' config
Boris Feld <boris.feld@octobus.net>
parents: 34244
diff changeset
1458 coreconfigitem('web', 'stripes',
945c9816ec1d configitems: register the 'web.stripes' config
Boris Feld <boris.feld@octobus.net>
parents: 34244
diff changeset
1459 default=1,
945c9816ec1d configitems: register the 'web.stripes' config
Boris Feld <boris.feld@octobus.net>
parents: 34244
diff changeset
1460 )
34246
db63872e10cc configitems: register the 'web.style' config
Boris Feld <boris.feld@octobus.net>
parents: 34245
diff changeset
1461 coreconfigitem('web', 'style',
db63872e10cc configitems: register the 'web.style' config
Boris Feld <boris.feld@octobus.net>
parents: 34245
diff changeset
1462 default='paper',
db63872e10cc configitems: register the 'web.style' config
Boris Feld <boris.feld@octobus.net>
parents: 34245
diff changeset
1463 )
34247
95f80c095804 configitems: register the 'web.templates' config
Boris Feld <boris.feld@octobus.net>
parents: 34246
diff changeset
1464 coreconfigitem('web', 'templates',
95f80c095804 configitems: register the 'web.templates' config
Boris Feld <boris.feld@octobus.net>
parents: 34246
diff changeset
1465 default=None,
95f80c095804 configitems: register the 'web.templates' config
Boris Feld <boris.feld@octobus.net>
parents: 34246
diff changeset
1466 )
34584
bf2389b1f15e configitems: register the 'web.view' config
Boris Feld <boris.feld@octobus.net>
parents: 34575
diff changeset
1467 coreconfigitem('web', 'view',
bf2389b1f15e configitems: register the 'web.view' config
Boris Feld <boris.feld@octobus.net>
parents: 34575
diff changeset
1468 default='served',
bf2389b1f15e configitems: register the 'web.view' config
Boris Feld <boris.feld@octobus.net>
parents: 34575
diff changeset
1469 )
33474
c514b4fb5e27 configitems: register the 'worker.backgroundclose' config
Boris Feld <boris.feld@octobus.net>
parents: 33473
diff changeset
1470 coreconfigitem('worker', 'backgroundclose',
c514b4fb5e27 configitems: register the 'worker.backgroundclose' config
Boris Feld <boris.feld@octobus.net>
parents: 33473
diff changeset
1471 default=dynamicdefault,
c514b4fb5e27 configitems: register the 'worker.backgroundclose' config
Boris Feld <boris.feld@octobus.net>
parents: 33473
diff changeset
1472 )
33234
b62d13506860 configitems: gather comment related to 'worker.backgroundclosemaxqueue'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33233
diff changeset
1473 # 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
1474 # 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
1475 coreconfigitem('worker', 'backgroundclosemaxqueue',
5dcbd2045dcb configitems: register the 'worker.backgroundclosemaxqueue' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33229
diff changeset
1476 default=384,
5dcbd2045dcb configitems: register the 'worker.backgroundclosemaxqueue' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33229
diff changeset
1477 )
33231
d19804c16710 configitems: register the 'worker.backgroundcloseminfilecount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33230
diff changeset
1478 coreconfigitem('worker', 'backgroundcloseminfilecount',
d19804c16710 configitems: register the 'worker.backgroundcloseminfilecount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33230
diff changeset
1479 default=2048,
d19804c16710 configitems: register the 'worker.backgroundcloseminfilecount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33230
diff changeset
1480 )
33232
4531a967e7f1 configitems: register the 'worker.backgroundclosethreadcount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33231
diff changeset
1481 coreconfigitem('worker', 'backgroundclosethreadcount',
4531a967e7f1 configitems: register the 'worker.backgroundclosethreadcount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33231
diff changeset
1482 default=4,
4531a967e7f1 configitems: register the 'worker.backgroundclosethreadcount' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33231
diff changeset
1483 )
35431
471918fa7f46 workers: add config to enable/diable workers
Wojciech Lis <wlis@fb.com>
parents: 35388
diff changeset
1484 coreconfigitem('worker', 'enabled',
471918fa7f46 workers: add config to enable/diable workers
Wojciech Lis <wlis@fb.com>
parents: 35388
diff changeset
1485 default=True,
471918fa7f46 workers: add config to enable/diable workers
Wojciech Lis <wlis@fb.com>
parents: 35388
diff changeset
1486 )
33233
c9849bec227a configitems: register the 'worker.numcpus' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33232
diff changeset
1487 coreconfigitem('worker', 'numcpus',
c9849bec227a configitems: register the 'worker.numcpus' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33232
diff changeset
1488 default=None,
c9849bec227a configitems: register the 'worker.numcpus' config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 33232
diff changeset
1489 )
34831
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1490
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1491 # Rebase related configuration moved to core because other extension are doing
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1492 # strange things. For example, shelve import the extensions to reuse some bit
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1493 # without formally loading it.
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1494 coreconfigitem('commands', 'rebase.requiredest',
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1495 default=False,
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1496 )
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1497 coreconfigitem('experimental', 'rebaseskipobsolete',
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1498 default=True,
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1499 )
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1500 coreconfigitem('rebase', 'singletransaction',
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1501 default=False,
44c4ed4ad032 configitems: move rebase config into core
Boris Feld <boris.feld@octobus.net>
parents: 34828
diff changeset
1502 )
35388
dd11df900f7f rebase: replace --inmemory flag with rebase.experimental.inmemory config
Phil Cohen <phillco@fb.com>
parents: 35287
diff changeset
1503 coreconfigitem('rebase', 'experimental.inmemory',
dd11df900f7f rebase: replace --inmemory flag with rebase.experimental.inmemory config
Phil Cohen <phillco@fb.com>
parents: 35287
diff changeset
1504 default=False,
dd11df900f7f rebase: replace --inmemory flag with rebase.experimental.inmemory config
Phil Cohen <phillco@fb.com>
parents: 35287
diff changeset
1505 )