configitems.py
1578 lines
| 37.3 KiB
| text/x-python
|
PythonLexer
/ mercurial / configitems.py
r32983 | # configitems.py - centralized declaration of configuration option | |||
# | ||||
# Copyright 2017 Pierre-Yves David <pierre-yves.david@octobus.net> | ||||
# | ||||
# This software may be used and distributed according to the terms of the | ||||
# GNU General Public License version 2 or any later version. | ||||
from __future__ import absolute_import | ||||
r33126 | import functools | |||
|
r34663 | import re | ||
r33126 | ||||
r32984 | from . import ( | |||
|
r34236 | encoding, | ||
r32984 | error, | |||
) | ||||
|
r43346 | |||
r33127 | def loadconfigtable(ui, extname, configtable): | |||
"""update config item known to the ui with the extension ones""" | ||||
|
r35826 | for section, items in sorted(configtable.items()): | ||
|
r34769 | knownitems = ui._knownconfig.setdefault(section, itemregister()) | ||
r33128 | knownkeys = set(knownitems) | |||
newkeys = set(items) | ||||
for key in sorted(knownkeys & newkeys): | ||||
|
r43347 | msg = b"extension '%s' overwrite config item '%s.%s'" | ||
r33128 | msg %= (extname, section, key) | |||
|
r43347 | ui.develwarn(msg, config=b'warn-config') | ||
r33128 | ||||
knownitems.update(items) | ||||
r33127 | ||||
|
r43346 | |||
r32983 | class configitem(object): | |||
"""represent a known config item | ||||
:section: the official config section where to find this item, | ||||
:name: the official name within the section, | ||||
:default: default value for this item, | ||||
|
r34663 | :alias: optional list of tuples as alternatives, | ||
:generic: this is a generic definition, match name using regular expression. | ||||
r32983 | """ | |||
|
r43346 | def __init__( | ||
self, | ||||
section, | ||||
name, | ||||
default=None, | ||||
alias=(), | ||||
generic=False, | ||||
priority=0, | ||||
experimental=False, | ||||
): | ||||
r32983 | self.section = section | |||
self.name = name | ||||
self.default = default | ||||
|
r33329 | self.alias = list(alias) | ||
|
r34663 | self.generic = generic | ||
self.priority = priority | ||||
|
r43028 | self.experimental = experimental | ||
|
r34663 | self._re = None | ||
if generic: | ||||
self._re = re.compile(self.name) | ||||
|
r43346 | |||
|
r34663 | class itemregister(dict): | ||
"""A specialized dictionary that can handle wild-card selection""" | ||||
def __init__(self): | ||||
super(itemregister, self).__init__() | ||||
self._generics = set() | ||||
def update(self, other): | ||||
super(itemregister, self).update(other) | ||||
self._generics.update(other._generics) | ||||
def __setitem__(self, key, item): | ||||
super(itemregister, self).__setitem__(key, item) | ||||
if item.generic: | ||||
self._generics.add(item) | ||||
def get(self, key): | ||||
|
r34875 | baseitem = super(itemregister, self).get(key) | ||
if baseitem is not None and not baseitem.generic: | ||||
return baseitem | ||||
|
r34663 | |||
# search for a matching generic item | ||||
generics = sorted(self._generics, key=(lambda x: (x.priority, x.name))) | ||||
for item in generics: | ||||
|
r34876 | # we use 'match' instead of 'search' to make the matching simpler | ||
# for people unfamiliar with regular expression. Having the match | ||||
# rooted to the start of the string will produce less surprising | ||||
# result for user writing simple regex for sub-attribute. | ||||
# | ||||
# For example using "color\..*" match produces an unsurprising | ||||
# result, while using search could suddenly match apparently | ||||
# unrelated configuration that happens to contains "color." | ||||
# anywhere. This is a tradeoff where we favor requiring ".*" on | ||||
# some match to avoid the need to prefix most pattern with "^". | ||||
# The "^" seems more error prone. | ||||
|
r34663 | if item._re.match(key): | ||
return item | ||||
|
r34875 | return None | ||
r32984 | ||||
|
r43346 | |||
r32984 | coreitems = {} | |||
|
r43346 | |||
r33126 | def _register(configtable, *args, **kwargs): | |||
r32984 | item = configitem(*args, **kwargs) | |||
|
r34663 | section = configtable.setdefault(item.section, itemregister()) | ||
r32984 | if item.name in section: | |||
|
r43347 | msg = b"duplicated config item registration for '%s.%s'" | ||
r32984 | raise error.ProgrammingError(msg % (item.section, item.name)) | |||
section[item.name] = item | ||||
r32986 | ||||
|
r43346 | |||
|
r33471 | # special value for case where the default is derived from other values | ||
dynamicdefault = object() | ||||
r32986 | # Registering actual config items | |||
|
r43346 | |||
r33126 | def getitemregister(configtable): | |||
|
r34918 | f = functools.partial(_register, configtable) | ||
# export pseudo enum as configitem.* | ||||
f.dynamicdefault = dynamicdefault | ||||
return f | ||||
r33126 | ||||
|
r43346 | |||
r33126 | coreconfigitem = getitemregister(coreitems) | |||
|
r43346 | |||
|
r43347 | def _registerdiffopts(section, configprefix=b''): | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'nodates', default=False, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'showfunc', default=False, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'unified', default=None, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'git', default=False, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'ignorews', default=False, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'ignorewsamount', default=False, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'ignoreblanklines', default=False, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'ignorewseol', default=False, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'nobinary', default=False, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'noprefix', default=False, | ||
|
r41699 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | section, configprefix + b'word-diff', default=False, | ||
|
r41699 | ) | ||
|
r43346 | |||
coreconfigitem( | ||||
|
r43347 | b'alias', b'.*', default=dynamicdefault, generic=True, | ||
|
r34664 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'auth', b'cookiefile', default=None, | ||
r33177 | ) | |||
|
r43347 | _registerdiffopts(section=b'annotate') | ||
r33178 | # bookmarks.pushing: internal hack for discovery | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'bookmarks', b'pushing', default=list, | ||
r33178 | ) | |||
r33179 | # bundle.mainreporoot: internal hack for bundlerepo | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'bundle', b'mainreporoot', default=b'', | ||
r33179 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'censor', b'policy', default=b'abort', experimental=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'chgserver', b'idletimeout', default=3600, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'chgserver', b'skiphash', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'cmdserver', b'log', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'cmdserver', b'max-log-files', default=7, | ||
|
r40862 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'cmdserver', b'max-log-size', default=b'1 MB', | ||
|
r40862 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'cmdserver', b'max-repo-cache', default=0, experimental=True, | ||
|
r41035 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'cmdserver', b'message-encodings', default=list, experimental=True, | ||
|
r40625 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'cmdserver', | ||
b'track-log', | ||||
default=lambda: [b'chgserver', b'cmdserver', b'repocache'], | ||||
|
r40862 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'color', b'.*', default=None, generic=True, | ||
|
r34665 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'color', b'mode', default=b'auto', | ||
r33176 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'color', b'pagermode', default=dynamicdefault, | ||
|
r33472 | ) | ||
|
r43347 | _registerdiffopts(section=b'commands', configprefix=b'commit.interactive.') | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'commit.post-status', default=False, | ||
r42430 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'grep.all-files', default=False, experimental=True, | ||
|
r38673 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r44325 | b'commands', b'merge.require-rev', default=False, | ||
) | ||||
coreconfigitem( | ||||
|
r43433 | b'commands', b'push.require-revs', default=False, | ||
) | ||||
coreconfigitem( | ||||
|
r43347 | b'commands', b'resolve.confirm', default=False, | ||
|
r38858 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'resolve.explicit-re-merge', default=False, | ||
|
r39430 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'resolve.mark-check', default=b'none', | ||
|
r38893 | ) | ||
|
r43347 | _registerdiffopts(section=b'commands', configprefix=b'revert.interactive.') | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'show.aliasprefix', default=list, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'commands', b'status.relative', default=False, | ||
|
r34889 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'status.skipstates', default=[], experimental=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'status.terse', default=b'', | ||
|
r33766 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'status.verbose', default=False, | ||
|
r38112 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'update.check', default=None, | ||
|
r33766 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'update.requiredest', default=False, | ||
|
r34706 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'committemplate', b'.*', default=None, generic=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'bzr.saverev', default=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'convert', b'cvsps.cache', default=True, | ||
|
r34666 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'cvsps.fuzz', default=60, | ||
|
r38591 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'cvsps.logencoding', default=None, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'cvsps.mergefrom', default=None, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'cvsps.mergeto', default=None, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'git.committeractions', default=lambda: [b'messagedifferent'], | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'git.extrakeys', default=list, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'git.findcopiesharder', default=False, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'git.remoteprefix', default=b'remote', | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'git.renamelimit', default=400, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'git.saverev', default=True, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'git.similarity', default=50, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'git.skipsubmodules', default=False, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'hg.clonebranches', default=False, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'hg.ignoreerrors', default=False, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'hg.preserve-hash', default=False, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'hg.revs', default=None, | ||
|
r42839 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'hg.saverev', default=False, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'hg.sourcename', default=None, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'hg.startrev', default=None, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'hg.tagsbranch', default=b'default', | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'hg.usebranchnames', default=True, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'ignoreancestorcheck', default=False, experimental=True, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'localtimezone', default=False, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'p4.encoding', default=dynamicdefault, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'p4.startrev', default=0, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'skiptags', default=False, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'svn.debugsvnlog', default=True, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'svn.trunk', default=None, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'svn.tags', default=None, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'svn.branches', default=None, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'convert', b'svn.startrev', default=0, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'debug', b'dirstate.delaywrite', default=0, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'defaults', b'.*', default=None, generic=True, | ||
|
r35141 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'all-warnings', default=False, | ||
|
r34482 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'bundle2.debug', default=False, | ||
|
r34667 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'bundle.delta', default=b'', | ||
r33159 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'cache-vfs', default=None, | ||
r33160 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'check-locks', default=False, | ||
|
r40458 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'check-relroot', default=False, | ||
r33161 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'default-date', default=None, | ||
r33162 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'deprec-warn', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'disableloaddefaultcerts', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'warn-empty-changegroup', default=False, | ||
r33163 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'legacy.exchange', default=list, | ||
|
r34527 | ) | ||
r45001 | # TODO before getting `persistent-nodemap` out of experimental | |||
# | ||||
# * code/tests around aborted transaction | ||||
# * regenerate a new nodemap when the unused/total ration is to high | ||||
# * decide for a "status" of the persistent nodemap and associated location | ||||
# - part of the store next the revlog itself (new requirements) | ||||
# - part of the cache directory | ||||
# - part of an `index` directory | ||||
# (https://www.mercurial-scm.org/wiki/ComputedIndexPlan) | ||||
# * do we want to use this for more than just changelog? if so we need: | ||||
# - simpler "pending" logic for them | ||||
# - double check the memory story (we dont want to keep all revlog in memory) | ||||
# - think about the naming scheme if we are in "cache" | ||||
# * increment the version format to "1" and freeze it. | ||||
|
r43346 | coreconfigitem( | ||
r44794 | b'devel', b'persistent-nodemap', default=False, | |||
) | ||||
coreconfigitem( | ||||
|
r43347 | b'devel', b'servercafile', default=b'', | ||
r33181 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'serverexactprotocol', default=b'', | ||
r33164 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'serverrequirecert', default=False, | ||
r33166 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'strip-obsmarkers', default=True, | ||
r33167 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'warn-config', default=None, | ||
|
r34524 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'warn-config-default', default=None, | ||
|
r34525 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'user.obsmarker', default=None, | ||
|
r34576 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'warn-config-unknown', default=None, | ||
|
r34859 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'debug.copies', default=False, | ||
|
r40093 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'debug.extensions', default=False, | ||
|
r38750 | ) | ||
|
r43346 | coreconfigitem( | ||
r44192 | b'devel', b'debug.repo-filters', default=False, | |||
) | ||||
coreconfigitem( | ||||
|
r43347 | b'devel', b'debug.peer-request', default=False, | ||
|
r35716 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'devel', b'discovery.randomize', default=True, | ||
|
r42969 | ) | ||
|
r43347 | _registerdiffopts(section=b'diff') | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'email', b'bcc', default=None, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'email', b'cc', default=None, | ||
|
r34598 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'email', b'charsets', default=list, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'email', b'from', default=None, | ||
|
r34599 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'email', b'method', default=b'smtp', | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'email', b'reply-to', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'email', b'to', default=None, | ||
|
r34480 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'archivemetatemplate', default=dynamicdefault, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'auto-publish', default=b'publish', | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'bundle-phases', default=False, | ||
|
r34600 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'bundle2-advertise', default=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'bundle2-output-capture', default=False, | ||
|
r34912 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'bundle2.pushback', default=False, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'bundle2lazylocking', default=False, | ||
|
r34616 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'bundlecomplevel', default=None, | ||
r40803 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'bundlecomplevel.bzip2', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'bundlecomplevel.gzip', default=None, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'bundlecomplevel.none', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'bundlecomplevel.zstd', default=None, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'changegroup3', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'cleanup-as-archived', default=False, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'clientcompressionengines', default=list, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'copytrace', default=b'on', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'copytrace.movecandidateslimit', default=100, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'copytrace.sourcecommitlimit', default=100, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'copies.read-from', default=b"filelog-only", | ||
|
r37787 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'copies.write-to', default=b'filelog-only', | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'crecordtest', default=None, | ||
|
r37787 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'directaccess', default=False, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'directaccess.revnums', default=False, | ||
|
r37787 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'editortmpinhg', default=False, | ||
|
r37787 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'evolution', default=list, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', | ||
b'evolution.allowdivergence', | ||||
|
r41961 | default=False, | ||
|
r43347 | alias=[(b'experimental', b'allowdivergence')], | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'evolution.allowunstable', default=None, | ||
|
r34312 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'evolution.createmarkers', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', | ||
b'evolution.effect-flags', | ||||
|
r43346 | default=True, | ||
|
r43347 | alias=[(b'experimental', b'effect-flags')], | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'evolution.exchange', default=None, | ||
|
r34864 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'evolution.bundle-obsmarker', default=False, | ||
|
r34865 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'log.topo', default=False, | ||
|
r34865 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'evolution.report-instabilities', default=True, | ||
|
r42500 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'evolution.track-operation', default=True, | ||
|
r34864 | ) | ||
r42417 | # repo-level config to exclude a revset visibility | |||
# | ||||
# The target use case is to use `share` to expose different subset of the same | ||||
# repository, especially server side. See also `server.view`. | ||||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'extra-filter-revs', default=None, | ||
r42417 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'maxdeltachainspan', default=-1, | ||
|
r34520 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'mergetempdirprefix', default=None, | ||
|
r37017 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'mmapindexthreshold', default=None, | ||
|
r41332 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'narrow', default=False, | ||
|
r40109 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'nonnormalparanoidcheck', default=False, | ||
|
r34492 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'exportableenviron', default=list, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'extendedheader.index', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'extendedheader.similarity', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'graphshorten', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'graphstyle.parent', default=dynamicdefault, | ||
|
r34528 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'graphstyle.missing', default=dynamicdefault, | ||
|
r34529 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'graphstyle.grandparent', default=dynamicdefault, | ||
|
r34530 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'hook-track-tags', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'httppeer.advertise-v2', default=False, | ||
|
r37576 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'httppeer.v2-encoder-order', default=None, | ||
|
r40168 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'httppostargs', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'mergedriver', default=None, | ||
|
r33499 | ) | ||
|
r43347 | coreconfigitem(b'experimental', b'nointerrupt', default=False) | ||
coreconfigitem(b'experimental', b'nointerrupt-interactiveonly', default=True) | ||||
|
r38545 | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'obsmarkers-exchange-debug', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'remotenames', default=False, | ||
|
r35236 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'removeemptydirs', default=True, | ||
|
r38512 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'revert.interactive.select-to-keep', default=False, | ||
|
r42154 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'revisions.prefixhexnode', default=False, | ||
|
r38891 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'revlogv2', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'revisions.disambiguatewithin', default=None, | ||
|
r38878 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r44466 | b'experimental', b'rust.index', default=False, | ||
) | ||||
coreconfigitem( | ||||
r44789 | b'experimental', b'exp-persistent-nodemap', default=False, | |||
) | ||||
coreconfigitem( | ||||
r44843 | b'experimental', b'exp-persistent-nodemap.mmap', default=True, | |||
) | ||||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'server.filesdata.recommended-batch-size', default=50000, | ||
|
r40214 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', | ||
b'server.manifestdata.recommended-batch-size', | ||||
|
r40208 | default=100000, | ||
) | ||||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'server.stream-narrow-clones', default=False, | ||
|
r35744 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'single-head-per-branch', default=False, | ||
|
r37070 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', | ||
b'single-head-per-branch:account-closed-heads', | ||||
|
r42512 | default=False, | ||
) | ||||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'sshserver.support-v2', default=False, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'sparse-read', default=False, | ||
r33233 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'sparse-read.density-threshold', default=0.50, | ||
r33234 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'sparse-read.min-gap-size', default=b'65K', | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'treemanifest', default=False, | ||
r33235 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'update.atomic-file', default=False, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'sshpeer.advertise-v2', default=False, | ||
r33236 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'web.apiserver', default=False, | ||
r33237 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'web.api.http-v2', default=False, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'web.api.debugreflect', default=False, | ||
r33241 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'worker.wdir-get-thread-safe', default=False, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
r44258 | b'experimental', b'worker.repository-upgrade', default=False, | |||
) | ||||
coreconfigitem( | ||||
|
r43347 | b'experimental', b'xdiff', default=False, | ||
|
r38739 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'extensions', b'.*', default=None, generic=True, | ||
r42213 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'extdata', b'.*', default=None, generic=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'format', b'bookmarks-in-store', default=False, | ||
r33242 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'format', b'chunkcachesize', default=None, experimental=True, | ||
r33243 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'format', b'dotencode', default=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'format', b'generaldelta', default=False, experimental=True, | ||
r33244 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'format', b'manifestcachesize', default=None, experimental=True, | ||
r43298 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'format', b'maxchainlen', default=dynamicdefault, experimental=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'format', b'obsstore-version', default=None, | ||
|
r39334 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'format', b'sparse-revlog', default=True, | ||
|
r34886 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'format', | ||
b'revlog-compression', | ||||
r44866 | default=lambda: [b'zlib'], | |||
|
r43347 | alias=[(b'experimental', b'format.compression')], | ||
|
r34886 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'format', b'usefncache', default=True, | ||
) | ||||
coreconfigitem( | ||||
b'format', b'usegeneraldelta', default=True, | ||||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'format', b'usestore', default=True, | ||
|
r40448 | ) | ||
|
r43346 | coreconfigitem( | ||
r43407 | b'format', | |||
b'exp-use-copies-side-data-changeset', | ||||
default=False, | ||||
experimental=True, | ||||
) | ||||
coreconfigitem( | ||||
r43437 | b'format', b'exp-use-side-data', default=False, experimental=True, | |||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'format', b'internal-phase', default=False, experimental=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'fsmonitor', b'warn_when_unused', default=True, | ||
|
r40449 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'fsmonitor', b'warn_update_file_count', default=50000, | ||
|
r34669 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'help', br'hidden-command\..*', default=False, generic=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'help', br'hidden-topic\..*', default=False, generic=True, | ||
|
r34752 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'hooks', b'.*', default=dynamicdefault, generic=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'hgweb-paths', b'.*', default=list, generic=True, | ||
|
r34749 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'hostfingerprints', b'.*', default=list, generic=True, | ||
r33214 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'hostsecurity', b'ciphers', default=None, | ||
r33215 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'hostsecurity', b'disabletls10warning', default=False, | ||
|
r34748 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'hostsecurity', b'minimumprotocol', default=dynamicdefault, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'hostsecurity', | ||
b'.*:minimumprotocol$', | ||||
default=dynamicdefault, | ||||
generic=True, | ||||
|
r34775 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'hostsecurity', b'.*:ciphers$', default=dynamicdefault, generic=True, | ||
|
r34776 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'hostsecurity', b'.*:fingerprints$', default=list, generic=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'hostsecurity', b'.*:verifycertsfile$', default=None, generic=True, | ||
|
r34777 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'http_proxy', b'always', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'http_proxy', b'host', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'http_proxy', b'no', default=list, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'http_proxy', b'passwd', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'http_proxy', b'user', default=None, | ||
|
r33499 | ) | ||
|
r40079 | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'http', b'timeout', default=None, | ||
|
r40079 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'logtoprocess', b'commandexception', default=None, | ||
|
r34593 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'logtoprocess', b'commandfinish', default=None, | ||
|
r34594 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'logtoprocess', b'command', default=None, | ||
|
r34595 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'logtoprocess', b'develwarn', default=None, | ||
|
r34596 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'logtoprocess', b'uiblocked', default=None, | ||
|
r34597 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge', b'checkunknown', default=b'abort', | ||
|
r34523 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge', b'checkignored', default=b'abort', | ||
|
r34523 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'merge.checkpathconflicts', default=False, | ||
|
r34942 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge', b'followcopies', default=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge', b'on-failure', default=b'continue', | ||
|
r34797 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge', b'preferancestor', default=lambda: [b'*'], experimental=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'merge', b'strict-capability-check', default=False, | ||
|
r34481 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge-tools', b'.*', default=None, generic=True, | ||
|
r39161 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge-tools', | ||
|
r43346 | br'.*\.args$', | ||
|
r43347 | default=b"$local $base $other", | ||
|
r34827 | generic=True, | ||
priority=-1, | ||||
) | ||||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge-tools', br'.*\.binary$', default=False, generic=True, priority=-1, | ||
|
r34827 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge-tools', br'.*\.check$', default=list, generic=True, priority=-1, | ||
|
r35925 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge-tools', | ||
|
r43346 | br'.*\.checkchanged$', | ||
|
r34827 | default=False, | ||
generic=True, | ||||
priority=-1, | ||||
) | ||||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge-tools', | ||
|
r43346 | br'.*\.executable$', | ||
default=dynamicdefault, | ||||
generic=True, | ||||
priority=-1, | ||||
) | ||||
coreconfigitem( | ||||
|
r43347 | b'merge-tools', br'.*\.fixeol$', default=False, generic=True, priority=-1, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'merge-tools', br'.*\.gui$', default=False, generic=True, priority=-1, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'merge-tools', | ||
|
r43346 | br'.*\.mergemarkers$', | ||
|
r43347 | default=b'basic', | ||
|
r43346 | generic=True, | ||
priority=-1, | ||||
) | ||||
coreconfigitem( | ||||
|
r43347 | b'merge-tools', | ||
|
r43346 | br'.*\.mergemarkertemplate$', | ||
default=dynamicdefault, # take from ui.mergemarkertemplate | ||||
generic=True, | ||||
priority=-1, | ||||
) | ||||
coreconfigitem( | ||||
|
r43347 | b'merge-tools', br'.*\.priority$', default=0, generic=True, priority=-1, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'merge-tools', | ||
|
r43346 | br'.*\.premerge$', | ||
|
r34670 | default=dynamicdefault, | ||
generic=True, | ||||
|
r43346 | priority=-1, | ||
|
r34670 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'merge-tools', br'.*\.symlink$', default=False, generic=True, priority=-1, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'pager', b'attend-.*', default=dynamicdefault, generic=True, | ||
|
r34592 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'pager', b'ignore', default=list, | ||
r33226 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'pager', b'pager', default=dynamicdefault, | ||
r32988 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'patch', b'eol', default=b'strict', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'patch', b'fuzz', default=2, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'paths', b'default', default=None, | ||
|
r34671 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'paths', b'default-push', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'paths', b'.*', default=None, generic=True, | ||
|
r34478 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'phases', b'checksubrepos', default=b'follow', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'phases', b'new-commit', default=b'draft', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'phases', b'publish', default=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'enabled', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'format', default=b'text', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'freq', default=1000, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'profiling', b'limit', default=30, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'nested', default=0, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'profiling', b'output', default=None, | ||
|
r34410 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'showmax', default=0.999, | ||
|
r34411 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'showmin', default=dynamicdefault, | ||
|
r34412 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'showtime', default=True, | ||
|
r42615 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'sort', default=b'inlinetime', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'statformat', default=b'hotpath', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'time-track', default=dynamicdefault, | ||
|
r38279 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'profiling', b'type', default=b'stat', | ||
|
r34413 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'progress', b'assume-tty', default=False, | ||
r33245 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'progress', b'changedelay', default=1, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'progress', b'clear-complete', default=True, | ||
r33246 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'progress', b'debug', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'progress', b'delay', default=3, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'progress', b'disable', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'progress', b'estimateinterval', default=60.0, | ||
|
r34315 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'progress', | ||
b'format', | ||||
default=lambda: [b'topic', b'bar', b'number', b'estimate'], | ||||
|
r34747 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'progress', b'refresh', default=0.1, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'progress', b'width', default=dynamicdefault, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'push', b'pushvars.server', default=False, | ||
|
r33473 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'rewrite', | ||
b'backup-bundle', | ||||
|
r41242 | default=True, | ||
|
r43347 | alias=[(b'ui', b'history-editing-backup')], | ||
|
r41242 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'rewrite', b'update-timestamp', default=False, | ||
|
r41155 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'storage', b'new-repo-backend', default=b'revlogv1', experimental=True, | ||
|
r40032 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'storage', | ||
b'revlog.optimize-delta-parent-choice', | ||||
|
r38760 | default=True, | ||
|
r43347 | alias=[(b'format', b'aggressivemergedeltas')], | ||
|
r38760 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'storage', b'revlog.reuse-external-delta', default=True, | ||
r41985 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'storage', b'revlog.reuse-external-delta-parent', default=None, | ||
r41984 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'storage', b'revlog.zlib.level', default=None, | ||
r42210 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'storage', b'revlog.zstd.level', default=None, | ||
r42211 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'bookmarks-pushkey-compat', default=True, | ||
|
r35262 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'bundle1', default=True, | ||
r33216 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'bundle1gd', default=None, | ||
r33217 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'bundle1.pull', default=None, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'server', b'bundle1gd.pull', default=None, | ||
|
r34614 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'bundle1.push', default=None, | ||
|
r34614 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'bundle1gd.push', default=None, | ||
|
r34614 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', | ||
b'bundle2.stream', | ||||
r39758 | default=True, | |||
|
r43347 | alias=[(b'experimental', b'bundle2.stream')], | ||
r39757 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'compressionengines', default=list, | ||
r33218 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r44896 | b'server', b'concurrent-push-mode', default=b'check-related', | ||
r33219 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'disablefullbundle', default=False, | ||
r33220 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'maxhttpheaderlen', default=1024, | ||
|
r37432 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'pullbundle', default=False, | ||
|
r37516 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'preferuncompressed', default=False, | ||
r33221 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'streamunbundle', default=False, | ||
r33222 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'uncompressed', default=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'uncompressedallowsecret', default=False, | ||
r33223 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'view', default=b'served', | ||
|
r42006 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'validate', default=False, | ||
r33224 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'zliblevel', default=-1, | ||
r33225 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'server', b'zstdlevel', default=3, | ||
|
r37728 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'share', b'pool', default=None, | ||
|
r34983 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'share', b'poolnaming', default=b'identity', | ||
|
r34983 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'shelve', b'maxbackups', default=10, | ||
|
r42744 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'smtp', b'host', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'smtp', b'local_hostname', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'smtp', b'password', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'smtp', b'port', default=dynamicdefault, | ||
|
r34479 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'smtp', b'tls', default=b'none', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'smtp', b'username', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'sparse', b'missingwarning', default=True, experimental=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'subrepos', | ||
b'allowed', | ||||
|
r34986 | default=dynamicdefault, # to make backporting simpler | ||
) | ||||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'subrepos', b'hg:allowed', default=dynamicdefault, | ||
|
r34990 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'subrepos', b'git:allowed', default=dynamicdefault, | ||
|
r34990 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'subrepos', b'svn:allowed', default=dynamicdefault, | ||
|
r34990 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'templates', b'.*', default=None, generic=True, | ||
|
r43346 | ) | ||
coreconfigitem( | ||||
|
r43347 | b'templateconfig', b'.*', default=dynamicdefault, generic=True, | ||
|
r34672 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'trusted', b'groups', default=list, | ||
|
r41869 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'trusted', b'users', default=list, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'_usedassubrepo', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'allowemptycommit', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'archivemeta', default=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'askusername', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'clonebundlefallback', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'clonebundleprefers', default=list, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'clonebundles', default=True, | ||
r32989 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'color', default=b'auto', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'commitsubrepos', default=False, | ||
|
r33522 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'debug', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'debugger', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'editor', default=dynamicdefault, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'fallbackencoding', default=None, | ||
|
r34917 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'forcecwd', default=None, | ||
|
r33519 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'forcemerge', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'formatdebug', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'formatjson', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'formatted', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'graphnodetemplate', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'interactive', default=None, | ||
r33061 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'interface', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'interface.chunkselector', default=None, | ||
|
r34617 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'large-file-limit', default=10000000, | ||
|
r38619 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'logblockedtimes', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'logtemplate', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'merge', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'mergemarkers', default=b'basic', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', | ||
b'mergemarkertemplate', | ||||
|
r43346 | default=( | ||
|
r43347 | b'{node|short} ' | ||
b'{ifeq(tags, "tip", "", ' | ||||
b'ifeq(tags, "", "", "{tags} "))}' | ||||
b'{if(bookmarks, "{bookmarks} ")}' | ||||
b'{ifeq(branch, "default", "", "{branch} ")}' | ||||
b'- {author|user}: {desc|firstline}' | ||||
|
r43346 | ), | ||
|
r40580 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'message-output', default=b'stdio', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'nontty', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'origbackuppath', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'paginate', default=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'patch', default=None, | ||
|
r40512 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'pre-merge-tool-output-template', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'portablefilenames', default=b'warn', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'promptecho', default=False, | ||
r32986 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'quiet', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'quietbookmarkmove', default=False, | ||
|
r41633 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'relative-paths', default=b'legacy', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'remotecmd', default=b'hg', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'report_untrusted', default=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'rollback', default=True, | ||
|
r38157 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'signal-safe-lock', default=True, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'slash', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'ssh', default=b'ssh', | ||
|
r35107 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'ssherrorhint', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'statuscopies', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'strict', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'style', default=b'', | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'supportcontact', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'textwidth', default=78, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'timeout', default=b'600', | ||
|
r35210 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'timeout.warn', default=0, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'traceback', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'tweakdefaults', default=False, | ||
|
r33329 | ) | ||
|
r43347 | coreconfigitem(b'ui', b'username', alias=[(b'ui', b'user')]) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'ui', b'verbose', default=False, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'verify', b'skipflags', default=None, | ||
|
r33499 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'allowbz2', default=False, | ||
|
r34601 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'allowgz', default=False, | ||
|
r34602 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'allow-pull', alias=[(b'web', b'allowpull')], default=True, | ||
|
r34603 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'allow-push', alias=[(b'web', b'allow_push')], default=list, | ||
|
r34604 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'allowzip', default=False, | ||
|
r34605 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'archivesubrepos', default=False, | ||
|
r34829 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'cache', default=True, | ||
|
r34606 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'comparisoncontext', default=5, | ||
|
r40910 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'contact', default=None, | ||
|
r34607 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'deny_push', default=list, | ||
|
r34608 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'guessmime', default=False, | ||
|
r34609 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'hidden', default=False, | ||
|
r34610 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'labels', default=list, | ||
|
r34611 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'logoimg', default=b'hglogo.png', | ||
|
r34612 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'logourl', default=b'https://mercurial-scm.org/', | ||
|
r34613 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'accesslog', default=b'-', | ||
|
r34224 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'address', default=b'', | ||
|
r34225 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'allow-archive', alias=[(b'web', b'allow_archive')], default=list, | ||
|
r34226 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'allow_read', default=list, | ||
|
r34227 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'baseurl', default=None, | ||
|
r34228 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'cacerts', default=None, | ||
|
r34229 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'certificate', default=None, | ||
|
r34230 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'collapse', default=False, | ||
|
r34231 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'csp', default=None, | ||
|
r34232 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'deny_read', default=list, | ||
|
r34233 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'descend', default=True, | ||
|
r34234 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'description', default=b"", | ||
|
r34235 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'encoding', default=lambda: encoding.encoding, | ||
|
r34236 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'errorlog', default=b'-', | ||
|
r34237 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'ipv6', default=False, | ||
|
r34238 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'maxchanges', default=10, | ||
|
r34591 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'maxfiles', default=10, | ||
|
r34590 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'maxshortchanges', default=60, | ||
|
r34589 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'motd', default=b'', | ||
|
r34588 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'name', default=dynamicdefault, | ||
|
r34587 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'port', default=8000, | ||
|
r34239 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'prefix', default=b'', | ||
|
r34240 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'push_ssl', default=True, | ||
|
r34586 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'refreshinterval', default=20, | ||
|
r34241 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'server-header', default=None, | ||
|
r37027 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'static', default=None, | ||
|
r39829 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'staticurl', default=None, | ||
|
r34760 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'stripes', default=1, | ||
|
r34242 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'style', default=b'paper', | ||
|
r34243 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'templates', default=None, | ||
|
r34244 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'web', b'view', default=b'served', experimental=True, | ||
|
r34585 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'worker', b'backgroundclose', default=dynamicdefault, | ||
|
r33474 | ) | ||
r33231 | # Windows defaults to a limit of 512 open files. A buffer of 128 | |||
# should give us enough headway. | ||||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'worker', b'backgroundclosemaxqueue', default=384, | ||
r33227 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'worker', b'backgroundcloseminfilecount', default=2048, | ||
r33228 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'worker', b'backgroundclosethreadcount', default=4, | ||
r33229 | ) | |||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'worker', b'enabled', default=True, | ||
|
r35447 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'worker', b'numcpus', default=None, | ||
r33230 | ) | |||
|
r34832 | |||
# Rebase related configuration moved to core because other extension are doing | ||||
# strange things. For example, shelve import the extensions to reuse some bit | ||||
# without formally loading it. | ||||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'commands', b'rebase.requiredest', default=False, | ||
|
r34832 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'experimental', b'rebaseskipobsolete', default=True, | ||
|
r34832 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'rebase', b'singletransaction', default=False, | ||
|
r34832 | ) | ||
|
r43346 | coreconfigitem( | ||
|
r43347 | b'rebase', b'experimental.inmemory', default=False, | ||
|
r35389 | ) | ||