configitems.py
1534 lines
| 35.9 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 | |||
Boris Feld
|
r34663 | import re | ||
r33126 | ||||
r32984 | from . import ( | |||
Boris Feld
|
r34236 | encoding, | ||
r32984 | error, | |||
) | ||||
Augie Fackler
|
r43346 | |||
r33127 | def loadconfigtable(ui, extname, configtable): | |||
"""update config item known to the ui with the extension ones""" | ||||
Gregory Szorc
|
r35826 | for section, items in sorted(configtable.items()): | ||
Boris Feld
|
r34769 | knownitems = ui._knownconfig.setdefault(section, itemregister()) | ||
r33128 | knownkeys = set(knownitems) | |||
newkeys = set(items) | ||||
for key in sorted(knownkeys & newkeys): | ||||
Augie Fackler
|
r43347 | msg = b"extension '%s' overwrite config item '%s.%s'" | ||
r33128 | msg %= (extname, section, key) | |||
Augie Fackler
|
r43347 | ui.develwarn(msg, config=b'warn-config') | ||
r33128 | ||||
knownitems.update(items) | ||||
r33127 | ||||
Augie Fackler
|
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, | ||||
Boris Feld
|
r34663 | :alias: optional list of tuples as alternatives, | ||
:generic: this is a generic definition, match name using regular expression. | ||||
r32983 | """ | |||
Augie Fackler
|
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 | ||||
David Demelier
|
r33329 | self.alias = list(alias) | ||
Boris Feld
|
r34663 | self.generic = generic | ||
self.priority = priority | ||||
Navaneeth Suresh
|
r43028 | self.experimental = experimental | ||
Boris Feld
|
r34663 | self._re = None | ||
if generic: | ||||
self._re = re.compile(self.name) | ||||
Augie Fackler
|
r43346 | |||
Boris Feld
|
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): | ||||
Boris Feld
|
r34875 | baseitem = super(itemregister, self).get(key) | ||
if baseitem is not None and not baseitem.generic: | ||||
return baseitem | ||||
Boris Feld
|
r34663 | |||
# search for a matching generic item | ||||
generics = sorted(self._generics, key=(lambda x: (x.priority, x.name))) | ||||
for item in generics: | ||||
Boris Feld
|
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. | ||||
Boris Feld
|
r34663 | if item._re.match(key): | ||
return item | ||||
Boris Feld
|
r34875 | return None | ||
r32984 | ||||
Augie Fackler
|
r43346 | |||
r32984 | coreitems = {} | |||
Augie Fackler
|
r43346 | |||
r33126 | def _register(configtable, *args, **kwargs): | |||
r32984 | item = configitem(*args, **kwargs) | |||
Boris Feld
|
r34663 | section = configtable.setdefault(item.section, itemregister()) | ||
r32984 | if item.name in section: | |||
Augie Fackler
|
r43347 | msg = b"duplicated config item registration for '%s.%s'" | ||
r32984 | raise error.ProgrammingError(msg % (item.section, item.name)) | |||
section[item.name] = item | ||||
r32986 | ||||
Augie Fackler
|
r43346 | |||
Boris Feld
|
r33471 | # special value for case where the default is derived from other values | ||
dynamicdefault = object() | ||||
r32986 | # Registering actual config items | |||
Augie Fackler
|
r43346 | |||
r33126 | def getitemregister(configtable): | |||
Yuya Nishihara
|
r34918 | f = functools.partial(_register, configtable) | ||
# export pseudo enum as configitem.* | ||||
f.dynamicdefault = dynamicdefault | ||||
return f | ||||
r33126 | ||||
Augie Fackler
|
r43346 | |||
r33126 | coreconfigitem = getitemregister(coreitems) | |||
Augie Fackler
|
r43346 | |||
Augie Fackler
|
r43347 | def _registerdiffopts(section, configprefix=b''): | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'nodates', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'showfunc', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'unified', default=None, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'git', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'ignorews', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'ignorewsamount', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'ignoreblanklines', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'ignorewseol', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'nobinary', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'noprefix', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | section, configprefix + b'word-diff', default=False, | ||
Kyle Lippincott
|
r41699 | ) | ||
Augie Fackler
|
r43346 | |||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'alias', b'.*', default=dynamicdefault, generic=True, | ||
Boris Feld
|
r34664 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'auth', b'cookiefile', default=None, | ||
r33177 | ) | |||
Augie Fackler
|
r43347 | _registerdiffopts(section=b'annotate') | ||
r33178 | # bookmarks.pushing: internal hack for discovery | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'bookmarks', b'pushing', default=list, | ||
r33178 | ) | |||
r33179 | # bundle.mainreporoot: internal hack for bundlerepo | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'bundle', b'mainreporoot', default=b'', | ||
r33179 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'censor', b'policy', default=b'abort', experimental=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'chgserver', b'idletimeout', default=3600, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'chgserver', b'skiphash', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'cmdserver', b'log', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'cmdserver', b'max-log-files', default=7, | ||
Yuya Nishihara
|
r40862 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'cmdserver', b'max-log-size', default=b'1 MB', | ||
Yuya Nishihara
|
r40862 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'cmdserver', b'max-repo-cache', default=0, experimental=True, | ||
Yuya Nishihara
|
r41035 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'cmdserver', b'message-encodings', default=list, experimental=True, | ||
Yuya Nishihara
|
r40625 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'cmdserver', | ||
b'track-log', | ||||
default=lambda: [b'chgserver', b'cmdserver', b'repocache'], | ||||
Yuya Nishihara
|
r40862 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'color', b'.*', default=None, generic=True, | ||
Boris Feld
|
r34665 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'color', b'mode', default=b'auto', | ||
r33176 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'color', b'pagermode', default=dynamicdefault, | ||
Boris Feld
|
r33472 | ) | ||
Augie Fackler
|
r43347 | _registerdiffopts(section=b'commands', configprefix=b'commit.interactive.') | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'commit.post-status', default=False, | ||
r42430 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'grep.all-files', default=False, experimental=True, | ||
Yuya Nishihara
|
r38673 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'resolve.confirm', default=False, | ||
Sushil khanchi
|
r38858 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'resolve.explicit-re-merge', default=False, | ||
Valentin Gatien-Baron
|
r39430 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'resolve.mark-check', default=b'none', | ||
Kyle Lippincott
|
r38893 | ) | ||
Augie Fackler
|
r43347 | _registerdiffopts(section=b'commands', configprefix=b'revert.interactive.') | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'show.aliasprefix', default=list, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'commands', b'status.relative', default=False, | ||
Jun Wu
|
r34889 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'status.skipstates', default=[], experimental=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'status.terse', default=b'', | ||
Pulkit Goyal
|
r33766 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'status.verbose', default=False, | ||
Augie Fackler
|
r38112 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'update.check', default=None, | ||
Pulkit Goyal
|
r33766 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'update.requiredest', default=False, | ||
Augie Fackler
|
r34706 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'committemplate', b'.*', default=None, generic=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'bzr.saverev', default=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'convert', b'cvsps.cache', default=True, | ||
Boris Feld
|
r34666 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'cvsps.fuzz', default=60, | ||
Matt Harbison
|
r38591 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'cvsps.logencoding', default=None, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'cvsps.mergefrom', default=None, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'cvsps.mergeto', default=None, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'git.committeractions', default=lambda: [b'messagedifferent'], | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'git.extrakeys', default=list, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'git.findcopiesharder', default=False, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'git.remoteprefix', default=b'remote', | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'git.renamelimit', default=400, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'git.saverev', default=True, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'git.similarity', default=50, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'git.skipsubmodules', default=False, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'hg.clonebranches', default=False, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'hg.ignoreerrors', default=False, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'hg.preserve-hash', default=False, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'hg.revs', default=None, | ||
Valentin Gatien-Baron
|
r42839 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'hg.saverev', default=False, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'hg.sourcename', default=None, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'hg.startrev', default=None, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'hg.tagsbranch', default=b'default', | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'hg.usebranchnames', default=True, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'ignoreancestorcheck', default=False, experimental=True, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'localtimezone', default=False, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'p4.encoding', default=dynamicdefault, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'p4.startrev', default=0, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'skiptags', default=False, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'svn.debugsvnlog', default=True, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'svn.trunk', default=None, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'svn.tags', default=None, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'svn.branches', default=None, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'convert', b'svn.startrev', default=0, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'debug', b'dirstate.delaywrite', default=0, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'defaults', b'.*', default=None, generic=True, | ||
Matt Harbison
|
r35141 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'all-warnings', default=False, | ||
Boris Feld
|
r34482 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'bundle2.debug', default=False, | ||
Boris Feld
|
r34667 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'bundle.delta', default=b'', | ||
r33159 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'cache-vfs', default=None, | ||
r33160 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'check-locks', default=False, | ||
Boris Feld
|
r40458 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'check-relroot', default=False, | ||
r33161 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'default-date', default=None, | ||
r33162 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'deprec-warn', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'disableloaddefaultcerts', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'warn-empty-changegroup', default=False, | ||
r33163 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'legacy.exchange', default=list, | ||
Boris Feld
|
r34527 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'servercafile', default=b'', | ||
r33181 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'serverexactprotocol', default=b'', | ||
r33164 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'serverrequirecert', default=False, | ||
r33166 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'strip-obsmarkers', default=True, | ||
r33167 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'warn-config', default=None, | ||
Boris Feld
|
r34524 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'warn-config-default', default=None, | ||
Boris Feld
|
r34525 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'user.obsmarker', default=None, | ||
Boris Feld
|
r34576 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'warn-config-unknown', default=None, | ||
Boris Feld
|
r34859 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'debug.copies', default=False, | ||
Boris Feld
|
r40093 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'debug.extensions', default=False, | ||
Boris Feld
|
r38750 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'debug.peer-request', default=False, | ||
Boris Feld
|
r35716 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'devel', b'discovery.randomize', default=True, | ||
Georges Racinet
|
r42969 | ) | ||
Augie Fackler
|
r43347 | _registerdiffopts(section=b'diff') | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'email', b'bcc', default=None, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'email', b'cc', default=None, | ||
Boris Feld
|
r34598 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'email', b'charsets', default=list, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'email', b'from', default=None, | ||
Boris Feld
|
r34599 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'email', b'method', default=b'smtp', | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'email', b'reply-to', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'email', b'to', default=None, | ||
Boris Feld
|
r34480 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'archivemetatemplate', default=dynamicdefault, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'auto-publish', default=b'publish', | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'bundle-phases', default=False, | ||
Boris Feld
|
r34600 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'bundle2-advertise', default=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'bundle2-output-capture', default=False, | ||
Yuya Nishihara
|
r34912 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'bundle2.pushback', default=False, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'bundle2lazylocking', default=False, | ||
Boris Feld
|
r34616 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'bundlecomplevel', default=None, | ||
r40803 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'bundlecomplevel.bzip2', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'bundlecomplevel.gzip', default=None, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'bundlecomplevel.none', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'bundlecomplevel.zstd', default=None, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'changegroup3', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'cleanup-as-archived', default=False, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'clientcompressionengines', default=list, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'copytrace', default=b'on', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'copytrace.movecandidateslimit', default=100, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'copytrace.sourcecommitlimit', default=100, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'copies.read-from', default=b"filelog-only", | ||
Joerg Sonnenberger
|
r37787 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'copies.write-to', default=b'filelog-only', | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'crecordtest', default=None, | ||
Joerg Sonnenberger
|
r37787 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'directaccess', default=False, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'directaccess.revnums', default=False, | ||
Joerg Sonnenberger
|
r37787 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'editortmpinhg', default=False, | ||
Joerg Sonnenberger
|
r37787 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'evolution', default=list, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', | ||
b'evolution.allowdivergence', | ||||
Boris Feld
|
r41961 | default=False, | ||
Augie Fackler
|
r43347 | alias=[(b'experimental', b'allowdivergence')], | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'evolution.allowunstable', default=None, | ||
Pulkit Goyal
|
r34312 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'evolution.createmarkers', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', | ||
b'evolution.effect-flags', | ||||
Augie Fackler
|
r43346 | default=True, | ||
Augie Fackler
|
r43347 | alias=[(b'experimental', b'effect-flags')], | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'evolution.exchange', default=None, | ||
Boris Feld
|
r34864 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'evolution.bundle-obsmarker', default=False, | ||
Boris Feld
|
r34865 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'log.topo', default=False, | ||
Boris Feld
|
r34865 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'evolution.report-instabilities', default=True, | ||
Martin von Zweigbergk
|
r42500 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'evolution.track-operation', default=True, | ||
Boris Feld
|
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`. | ||||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'extra-filter-revs', default=None, | ||
r42417 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'maxdeltachainspan', default=-1, | ||
Boris Feld
|
r34520 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'mergetempdirprefix', default=None, | ||
Kyle Lippincott
|
r37017 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'mmapindexthreshold', default=None, | ||
Boris Feld
|
r41332 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'narrow', default=False, | ||
Pulkit Goyal
|
r40109 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'nonnormalparanoidcheck', default=False, | ||
Boris Feld
|
r34492 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'exportableenviron', default=list, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'extendedheader.index', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'extendedheader.similarity', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'graphshorten', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'graphstyle.parent', default=dynamicdefault, | ||
Boris Feld
|
r34528 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'graphstyle.missing', default=dynamicdefault, | ||
Boris Feld
|
r34529 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'graphstyle.grandparent', default=dynamicdefault, | ||
Boris Feld
|
r34530 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'hook-track-tags', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'httppeer.advertise-v2', default=False, | ||
Gregory Szorc
|
r37576 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'httppeer.v2-encoder-order', default=None, | ||
Gregory Szorc
|
r40168 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'httppostargs', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'mergedriver', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43347 | coreconfigitem(b'experimental', b'nointerrupt', default=False) | ||
coreconfigitem(b'experimental', b'nointerrupt-interactiveonly', default=True) | ||||
Augie Fackler
|
r38545 | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'obsmarkers-exchange-debug', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'remotenames', default=False, | ||
Pulkit Goyal
|
r35236 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'removeemptydirs', default=True, | ||
Kyle Lippincott
|
r38512 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'revert.interactive.select-to-keep', default=False, | ||
Martin von Zweigbergk
|
r42154 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'revisions.prefixhexnode', default=False, | ||
Martin von Zweigbergk
|
r38891 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'revlogv2', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'revisions.disambiguatewithin', default=None, | ||
Martin von Zweigbergk
|
r38878 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'server.filesdata.recommended-batch-size', default=50000, | ||
Gregory Szorc
|
r40214 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', | ||
b'server.manifestdata.recommended-batch-size', | ||||
Gregory Szorc
|
r40208 | default=100000, | ||
) | ||||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'server.stream-narrow-clones', default=False, | ||
Boris Feld
|
r35744 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'single-head-per-branch', default=False, | ||
Gregory Szorc
|
r37070 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', | ||
b'single-head-per-branch:account-closed-heads', | ||||
Martin von Zweigbergk
|
r42512 | default=False, | ||
) | ||||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'sshserver.support-v2', default=False, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'sparse-read', default=False, | ||
r33233 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'sparse-read.density-threshold', default=0.50, | ||
r33234 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'sparse-read.min-gap-size', default=b'65K', | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'treemanifest', default=False, | ||
r33235 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'update.atomic-file', default=False, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'sshpeer.advertise-v2', default=False, | ||
r33236 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'web.apiserver', default=False, | ||
r33237 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'web.api.http-v2', default=False, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'web.api.debugreflect', default=False, | ||
r33241 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'worker.wdir-get-thread-safe', default=False, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'experimental', b'xdiff', default=False, | ||
Paul Morelle
|
r38739 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'extensions', b'.*', default=None, generic=True, | ||
r42213 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'extdata', b'.*', default=None, generic=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'format', b'bookmarks-in-store', default=False, | ||
r33242 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'format', b'chunkcachesize', default=None, experimental=True, | ||
r33243 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'format', b'dotencode', default=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'format', b'generaldelta', default=False, experimental=True, | ||
r33244 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'format', b'manifestcachesize', default=None, experimental=True, | ||
r43298 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'format', b'maxchainlen', default=dynamicdefault, experimental=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'format', b'obsstore-version', default=None, | ||
Boris Feld
|
r39334 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'format', b'sparse-revlog', default=True, | ||
Gregory Szorc
|
r34886 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'format', | ||
b'revlog-compression', | ||||
default=b'zlib', | ||||
alias=[(b'experimental', b'format.compression')], | ||||
Gregory Szorc
|
r34886 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'format', b'usefncache', default=True, | ||
) | ||||
coreconfigitem( | ||||
b'format', b'usegeneraldelta', default=True, | ||||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'format', b'usestore', default=True, | ||
rdamazio@google.com
|
r40448 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'format', b'use-side-data', default=False, experimental=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'format', b'internal-phase', default=False, experimental=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'fsmonitor', b'warn_when_unused', default=True, | ||
rdamazio@google.com
|
r40449 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'fsmonitor', b'warn_update_file_count', default=50000, | ||
Boris Feld
|
r34669 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'help', br'hidden-command\..*', default=False, generic=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'help', br'hidden-topic\..*', default=False, generic=True, | ||
Boris Feld
|
r34752 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'hooks', b'.*', default=dynamicdefault, generic=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'hgweb-paths', b'.*', default=list, generic=True, | ||
Boris Feld
|
r34749 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'hostfingerprints', b'.*', default=list, generic=True, | ||
r33214 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'hostsecurity', b'ciphers', default=None, | ||
r33215 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'hostsecurity', b'disabletls10warning', default=False, | ||
Boris Feld
|
r34748 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'hostsecurity', b'minimumprotocol', default=dynamicdefault, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'hostsecurity', | ||
b'.*:minimumprotocol$', | ||||
default=dynamicdefault, | ||||
generic=True, | ||||
Boris Feld
|
r34775 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'hostsecurity', b'.*:ciphers$', default=dynamicdefault, generic=True, | ||
Boris Feld
|
r34776 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'hostsecurity', b'.*:fingerprints$', default=list, generic=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'hostsecurity', b'.*:verifycertsfile$', default=None, generic=True, | ||
Boris Feld
|
r34777 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'http_proxy', b'always', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'http_proxy', b'host', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'http_proxy', b'no', default=list, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'http_proxy', b'passwd', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'http_proxy', b'user', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Cédric Krier
|
r40079 | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'http', b'timeout', default=None, | ||
Cédric Krier
|
r40079 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'logtoprocess', b'commandexception', default=None, | ||
Boris Feld
|
r34593 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'logtoprocess', b'commandfinish', default=None, | ||
Boris Feld
|
r34594 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'logtoprocess', b'command', default=None, | ||
Boris Feld
|
r34595 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'logtoprocess', b'develwarn', default=None, | ||
Boris Feld
|
r34596 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'logtoprocess', b'uiblocked', default=None, | ||
Boris Feld
|
r34597 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge', b'checkunknown', default=b'abort', | ||
Boris Feld
|
r34523 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge', b'checkignored', default=b'abort', | ||
Boris Feld
|
r34523 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'merge.checkpathconflicts', default=False, | ||
Siddharth Agarwal
|
r34942 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge', b'followcopies', default=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge', b'on-failure', default=b'continue', | ||
Ryan McElroy
|
r34797 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge', b'preferancestor', default=lambda: [b'*'], experimental=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'merge', b'strict-capability-check', default=False, | ||
Boris Feld
|
r34481 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge-tools', b'.*', default=None, generic=True, | ||
FUJIWARA Katsunori
|
r39161 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge-tools', | ||
Augie Fackler
|
r43346 | br'.*\.args$', | ||
Augie Fackler
|
r43347 | default=b"$local $base $other", | ||
Boris Feld
|
r34827 | generic=True, | ||
priority=-1, | ||||
) | ||||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge-tools', br'.*\.binary$', default=False, generic=True, priority=-1, | ||
Boris Feld
|
r34827 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge-tools', br'.*\.check$', default=list, generic=True, priority=-1, | ||
Kyle Lippincott
|
r35925 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge-tools', | ||
Augie Fackler
|
r43346 | br'.*\.checkchanged$', | ||
Boris Feld
|
r34827 | default=False, | ||
generic=True, | ||||
priority=-1, | ||||
) | ||||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge-tools', | ||
Augie Fackler
|
r43346 | br'.*\.executable$', | ||
default=dynamicdefault, | ||||
generic=True, | ||||
priority=-1, | ||||
) | ||||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'merge-tools', br'.*\.fixeol$', default=False, generic=True, priority=-1, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'merge-tools', br'.*\.gui$', default=False, generic=True, priority=-1, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'merge-tools', | ||
Augie Fackler
|
r43346 | br'.*\.mergemarkers$', | ||
Augie Fackler
|
r43347 | default=b'basic', | ||
Augie Fackler
|
r43346 | generic=True, | ||
priority=-1, | ||||
) | ||||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'merge-tools', | ||
Augie Fackler
|
r43346 | br'.*\.mergemarkertemplate$', | ||
default=dynamicdefault, # take from ui.mergemarkertemplate | ||||
generic=True, | ||||
priority=-1, | ||||
) | ||||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'merge-tools', br'.*\.priority$', default=0, generic=True, priority=-1, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'merge-tools', | ||
Augie Fackler
|
r43346 | br'.*\.premerge$', | ||
Boris Feld
|
r34670 | default=dynamicdefault, | ||
generic=True, | ||||
Augie Fackler
|
r43346 | priority=-1, | ||
Boris Feld
|
r34670 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'merge-tools', br'.*\.symlink$', default=False, generic=True, priority=-1, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'pager', b'attend-.*', default=dynamicdefault, generic=True, | ||
Boris Feld
|
r34592 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'pager', b'ignore', default=list, | ||
r33226 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'pager', b'pager', default=dynamicdefault, | ||
r32988 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'patch', b'eol', default=b'strict', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'patch', b'fuzz', default=2, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'paths', b'default', default=None, | ||
Boris Feld
|
r34671 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'paths', b'default-push', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'paths', b'.*', default=None, generic=True, | ||
Boris Feld
|
r34478 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'phases', b'checksubrepos', default=b'follow', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'phases', b'new-commit', default=b'draft', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'phases', b'publish', default=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'enabled', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'format', default=b'text', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'freq', default=1000, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'profiling', b'limit', default=30, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'nested', default=0, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'profiling', b'output', default=None, | ||
Boris Feld
|
r34410 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'showmax', default=0.999, | ||
Boris Feld
|
r34411 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'showmin', default=dynamicdefault, | ||
Boris Feld
|
r34412 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'showtime', default=True, | ||
Valentin Gatien-Baron
|
r42615 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'sort', default=b'inlinetime', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'statformat', default=b'hotpath', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'time-track', default=dynamicdefault, | ||
Boris Feld
|
r38279 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'profiling', b'type', default=b'stat', | ||
Boris Feld
|
r34413 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'progress', b'assume-tty', default=False, | ||
r33245 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'progress', b'changedelay', default=1, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'progress', b'clear-complete', default=True, | ||
r33246 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'progress', b'debug', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'progress', b'delay', default=3, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'progress', b'disable', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'progress', b'estimateinterval', default=60.0, | ||
Jun Wu
|
r34315 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'progress', | ||
b'format', | ||||
default=lambda: [b'topic', b'bar', b'number', b'estimate'], | ||||
Boris Feld
|
r34747 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'progress', b'refresh', default=0.1, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'progress', b'width', default=dynamicdefault, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'push', b'pushvars.server', default=False, | ||
Boris Feld
|
r33473 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'rewrite', | ||
b'backup-bundle', | ||||
Yuya Nishihara
|
r41242 | default=True, | ||
Augie Fackler
|
r43347 | alias=[(b'ui', b'history-editing-backup')], | ||
Yuya Nishihara
|
r41242 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'rewrite', b'update-timestamp', default=False, | ||
Taapas Agrawal
|
r41155 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'storage', b'new-repo-backend', default=b'revlogv1', experimental=True, | ||
Gregory Szorc
|
r40032 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'storage', | ||
b'revlog.optimize-delta-parent-choice', | ||||
Boris Feld
|
r38760 | default=True, | ||
Augie Fackler
|
r43347 | alias=[(b'format', b'aggressivemergedeltas')], | ||
Boris Feld
|
r38760 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'storage', b'revlog.reuse-external-delta', default=True, | ||
r41985 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'storage', b'revlog.reuse-external-delta-parent', default=None, | ||
r41984 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'storage', b'revlog.zlib.level', default=None, | ||
r42210 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'storage', b'revlog.zstd.level', default=None, | ||
r42211 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'bookmarks-pushkey-compat', default=True, | ||
Boris Feld
|
r35262 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'bundle1', default=True, | ||
r33216 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'bundle1gd', default=None, | ||
r33217 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'bundle1.pull', default=None, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'server', b'bundle1gd.pull', default=None, | ||
Boris Feld
|
r34614 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'bundle1.push', default=None, | ||
Boris Feld
|
r34614 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'bundle1gd.push', default=None, | ||
Boris Feld
|
r34614 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', | ||
b'bundle2.stream', | ||||
r39758 | default=True, | |||
Augie Fackler
|
r43347 | alias=[(b'experimental', b'bundle2.stream')], | ||
r39757 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'compressionengines', default=list, | ||
r33218 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'concurrent-push-mode', default=b'strict', | ||
r33219 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'disablefullbundle', default=False, | ||
r33220 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'maxhttpheaderlen', default=1024, | ||
Joerg Sonnenberger
|
r37432 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'pullbundle', default=False, | ||
Joerg Sonnenberger
|
r37516 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'preferuncompressed', default=False, | ||
r33221 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'streamunbundle', default=False, | ||
r33222 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'uncompressed', default=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'uncompressedallowsecret', default=False, | ||
r33223 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'view', default=b'served', | ||
Joerg Sonnenberger
|
r42006 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'validate', default=False, | ||
r33224 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'zliblevel', default=-1, | ||
r33225 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'server', b'zstdlevel', default=3, | ||
Matt Harbison
|
r37728 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'share', b'pool', default=None, | ||
Gregory Szorc
|
r34983 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'share', b'poolnaming', default=b'identity', | ||
Gregory Szorc
|
r34983 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'shelve', b'maxbackups', default=10, | ||
Navaneeth Suresh
|
r42744 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'smtp', b'host', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'smtp', b'local_hostname', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'smtp', b'password', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'smtp', b'port', default=dynamicdefault, | ||
Boris Feld
|
r34479 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'smtp', b'tls', default=b'none', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'smtp', b'username', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'sparse', b'missingwarning', default=True, experimental=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'subrepos', | ||
b'allowed', | ||||
Yuya Nishihara
|
r34986 | default=dynamicdefault, # to make backporting simpler | ||
) | ||||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'subrepos', b'hg:allowed', default=dynamicdefault, | ||
Gregory Szorc
|
r34990 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'subrepos', b'git:allowed', default=dynamicdefault, | ||
Gregory Szorc
|
r34990 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'subrepos', b'svn:allowed', default=dynamicdefault, | ||
Gregory Szorc
|
r34990 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'templates', b'.*', default=None, generic=True, | ||
Augie Fackler
|
r43346 | ) | ||
coreconfigitem( | ||||
Augie Fackler
|
r43347 | b'templateconfig', b'.*', default=dynamicdefault, generic=True, | ||
Boris Feld
|
r34672 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'trusted', b'groups', default=list, | ||
rdamazio@google.com
|
r41869 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'trusted', b'users', default=list, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'_usedassubrepo', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'allowemptycommit', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'archivemeta', default=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'askusername', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'clonebundlefallback', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'clonebundleprefers', default=list, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'clonebundles', default=True, | ||
r32989 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'color', default=b'auto', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'commitsubrepos', default=False, | ||
Boris Feld
|
r33522 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'debug', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'debugger', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'editor', default=dynamicdefault, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'fallbackencoding', default=None, | ||
Yuya Nishihara
|
r34917 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'forcecwd', default=None, | ||
Boris Feld
|
r33519 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'forcemerge', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'formatdebug', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'formatjson', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'formatted', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'graphnodetemplate', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'interactive', default=None, | ||
r33061 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'interface', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'interface.chunkselector', default=None, | ||
Boris Feld
|
r34617 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'large-file-limit', default=10000000, | ||
Joerg Sonnenberger
|
r38619 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'logblockedtimes', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'logtemplate', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'merge', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'mergemarkers', default=b'basic', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', | ||
b'mergemarkertemplate', | ||||
Augie Fackler
|
r43346 | default=( | ||
Augie Fackler
|
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}' | ||||
Augie Fackler
|
r43346 | ), | ||
Yuya Nishihara
|
r40580 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'message-output', default=b'stdio', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'nontty', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'origbackuppath', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'paginate', default=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'patch', default=None, | ||
Kyle Lippincott
|
r40512 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'pre-merge-tool-output-template', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'portablefilenames', default=b'warn', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'promptecho', default=False, | ||
r32986 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'quiet', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'quietbookmarkmove', default=False, | ||
Martin von Zweigbergk
|
r41633 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'relative-paths', default=b'legacy', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'remotecmd', default=b'hg', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'report_untrusted', default=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'rollback', default=True, | ||
Yuya Nishihara
|
r38157 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'signal-safe-lock', default=True, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'slash', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'ssh', default=b'ssh', | ||
Zuzanna Mroczek
|
r35107 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'ssherrorhint', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'statuscopies', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'strict', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'style', default=b'', | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'supportcontact', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'textwidth', default=78, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'timeout', default=b'600', | ||
Boris Feld
|
r35210 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'timeout.warn', default=0, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'traceback', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'tweakdefaults', default=False, | ||
David Demelier
|
r33329 | ) | ||
Augie Fackler
|
r43347 | coreconfigitem(b'ui', b'username', alias=[(b'ui', b'user')]) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'ui', b'verbose', default=False, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'verify', b'skipflags', default=None, | ||
Jun Wu
|
r33499 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'allowbz2', default=False, | ||
Boris Feld
|
r34601 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'allowgz', default=False, | ||
Boris Feld
|
r34602 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'allow-pull', alias=[(b'web', b'allowpull')], default=True, | ||
Boris Feld
|
r34603 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'allow-push', alias=[(b'web', b'allow_push')], default=list, | ||
Boris Feld
|
r34604 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'allowzip', default=False, | ||
Boris Feld
|
r34605 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'archivesubrepos', default=False, | ||
Boris Feld
|
r34829 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'cache', default=True, | ||
Boris Feld
|
r34606 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'comparisoncontext', default=5, | ||
Matt Harbison
|
r40910 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'contact', default=None, | ||
Boris Feld
|
r34607 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'deny_push', default=list, | ||
Boris Feld
|
r34608 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'guessmime', default=False, | ||
Boris Feld
|
r34609 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'hidden', default=False, | ||
Boris Feld
|
r34610 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'labels', default=list, | ||
Boris Feld
|
r34611 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'logoimg', default=b'hglogo.png', | ||
Boris Feld
|
r34612 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'logourl', default=b'https://mercurial-scm.org/', | ||
Boris Feld
|
r34613 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'accesslog', default=b'-', | ||
Boris Feld
|
r34224 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'address', default=b'', | ||
Boris Feld
|
r34225 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'allow-archive', alias=[(b'web', b'allow_archive')], default=list, | ||
Boris Feld
|
r34226 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'allow_read', default=list, | ||
Boris Feld
|
r34227 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'baseurl', default=None, | ||
Boris Feld
|
r34228 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'cacerts', default=None, | ||
Boris Feld
|
r34229 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'certificate', default=None, | ||
Boris Feld
|
r34230 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'collapse', default=False, | ||
Boris Feld
|
r34231 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'csp', default=None, | ||
Boris Feld
|
r34232 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'deny_read', default=list, | ||
Boris Feld
|
r34233 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'descend', default=True, | ||
Boris Feld
|
r34234 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'description', default=b"", | ||
Boris Feld
|
r34235 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'encoding', default=lambda: encoding.encoding, | ||
Boris Feld
|
r34236 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'errorlog', default=b'-', | ||
Boris Feld
|
r34237 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'ipv6', default=False, | ||
Boris Feld
|
r34238 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'maxchanges', default=10, | ||
Boris Feld
|
r34591 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'maxfiles', default=10, | ||
Boris Feld
|
r34590 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'maxshortchanges', default=60, | ||
Boris Feld
|
r34589 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'motd', default=b'', | ||
Boris Feld
|
r34588 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'name', default=dynamicdefault, | ||
Boris Feld
|
r34587 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'port', default=8000, | ||
Boris Feld
|
r34239 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'prefix', default=b'', | ||
Boris Feld
|
r34240 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'push_ssl', default=True, | ||
Boris Feld
|
r34586 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'refreshinterval', default=20, | ||
Boris Feld
|
r34241 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'server-header', default=None, | ||
Gregory Szorc
|
r37027 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'static', default=None, | ||
Yuya Nishihara
|
r39829 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'staticurl', default=None, | ||
Boris Feld
|
r34760 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'stripes', default=1, | ||
Boris Feld
|
r34242 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'style', default=b'paper', | ||
Boris Feld
|
r34243 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'templates', default=None, | ||
Boris Feld
|
r34244 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'web', b'view', default=b'served', experimental=True, | ||
Boris Feld
|
r34585 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'worker', b'backgroundclose', default=dynamicdefault, | ||
Boris Feld
|
r33474 | ) | ||
r33231 | # Windows defaults to a limit of 512 open files. A buffer of 128 | |||
# should give us enough headway. | ||||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'worker', b'backgroundclosemaxqueue', default=384, | ||
r33227 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'worker', b'backgroundcloseminfilecount', default=2048, | ||
r33228 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'worker', b'backgroundclosethreadcount', default=4, | ||
r33229 | ) | |||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'worker', b'enabled', default=True, | ||
Wojciech Lis
|
r35447 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'worker', b'numcpus', default=None, | ||
r33230 | ) | |||
Boris Feld
|
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. | ||||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'commands', b'rebase.requiredest', default=False, | ||
Boris Feld
|
r34832 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'experimental', b'rebaseskipobsolete', default=True, | ||
Boris Feld
|
r34832 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'rebase', b'singletransaction', default=False, | ||
Boris Feld
|
r34832 | ) | ||
Augie Fackler
|
r43346 | coreconfigitem( | ||
Augie Fackler
|
r43347 | b'rebase', b'experimental.inmemory', default=False, | ||
Phil Cohen
|
r35389 | ) | ||