Mercurial > hg-stable
diff mercurial/configitems.py @ 43077:687b865b95ad
formatting: byteify all mercurial/ and hgext/ string literals
Done with
python3.7 contrib/byteify-strings.py -i $(hg files 'set:mercurial/**.py - mercurial/thirdparty/** + hgext/**.py - hgext/fsmonitor/pywatchman/** - mercurial/__init__.py')
black -l 80 -t py33 -S $(hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**" - hgext/fsmonitor/pywatchman/**')
# skip-blame mass-reformatting only
Differential Revision: https://phab.mercurial-scm.org/D6972
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 06 Oct 2019 09:48:39 -0400 |
parents | 2372284d9457 |
children | 81efc4a295e7 |
line wrap: on
line diff
--- a/mercurial/configitems.py Sun Oct 06 09:45:02 2019 -0400 +++ b/mercurial/configitems.py Sun Oct 06 09:48:39 2019 -0400 @@ -23,9 +23,9 @@ knownkeys = set(knownitems) newkeys = set(items) for key in sorted(knownkeys & newkeys): - msg = "extension '%s' overwrite config item '%s.%s'" + msg = b"extension '%s' overwrite config item '%s.%s'" msg %= (extname, section, key) - ui.develwarn(msg, config='warn-config') + ui.develwarn(msg, config=b'warn-config') knownitems.update(items) @@ -110,7 +110,7 @@ item = configitem(*args, **kwargs) section = configtable.setdefault(item.section, itemregister()) if item.name in section: - msg = "duplicated config item registration for '%s.%s'" + msg = b"duplicated config item registration for '%s.%s'" raise error.ProgrammingError(msg % (item.section, item.name)) section[item.name] = item @@ -131,1401 +131,1404 @@ coreconfigitem = getitemregister(coreitems) -def _registerdiffopts(section, configprefix=''): +def _registerdiffopts(section, configprefix=b''): coreconfigitem( - section, configprefix + 'nodates', default=False, + section, configprefix + b'nodates', default=False, ) coreconfigitem( - section, configprefix + 'showfunc', default=False, + section, configprefix + b'showfunc', default=False, ) coreconfigitem( - section, configprefix + 'unified', default=None, + section, configprefix + b'unified', default=None, ) coreconfigitem( - section, configprefix + 'git', default=False, + section, configprefix + b'git', default=False, ) coreconfigitem( - section, configprefix + 'ignorews', default=False, + section, configprefix + b'ignorews', default=False, ) coreconfigitem( - section, configprefix + 'ignorewsamount', default=False, + section, configprefix + b'ignorewsamount', default=False, ) coreconfigitem( - section, configprefix + 'ignoreblanklines', default=False, + section, configprefix + b'ignoreblanklines', default=False, ) coreconfigitem( - section, configprefix + 'ignorewseol', default=False, + section, configprefix + b'ignorewseol', default=False, ) coreconfigitem( - section, configprefix + 'nobinary', default=False, + section, configprefix + b'nobinary', default=False, ) coreconfigitem( - section, configprefix + 'noprefix', default=False, + section, configprefix + b'noprefix', default=False, ) coreconfigitem( - section, configprefix + 'word-diff', default=False, + section, configprefix + b'word-diff', default=False, ) coreconfigitem( - 'alias', '.*', default=dynamicdefault, generic=True, + b'alias', b'.*', default=dynamicdefault, generic=True, ) coreconfigitem( - 'auth', 'cookiefile', default=None, + b'auth', b'cookiefile', default=None, ) -_registerdiffopts(section='annotate') +_registerdiffopts(section=b'annotate') # bookmarks.pushing: internal hack for discovery coreconfigitem( - 'bookmarks', 'pushing', default=list, + b'bookmarks', b'pushing', default=list, ) # bundle.mainreporoot: internal hack for bundlerepo coreconfigitem( - 'bundle', 'mainreporoot', default='', + b'bundle', b'mainreporoot', default=b'', ) coreconfigitem( - 'censor', 'policy', default='abort', experimental=True, + b'censor', b'policy', default=b'abort', experimental=True, ) coreconfigitem( - 'chgserver', 'idletimeout', default=3600, + b'chgserver', b'idletimeout', default=3600, ) coreconfigitem( - 'chgserver', 'skiphash', default=False, + b'chgserver', b'skiphash', default=False, ) coreconfigitem( - 'cmdserver', 'log', default=None, + b'cmdserver', b'log', default=None, ) coreconfigitem( - 'cmdserver', 'max-log-files', default=7, + b'cmdserver', b'max-log-files', default=7, ) coreconfigitem( - 'cmdserver', 'max-log-size', default='1 MB', + b'cmdserver', b'max-log-size', default=b'1 MB', ) coreconfigitem( - 'cmdserver', 'max-repo-cache', default=0, experimental=True, + b'cmdserver', b'max-repo-cache', default=0, experimental=True, ) coreconfigitem( - 'cmdserver', 'message-encodings', default=list, experimental=True, + b'cmdserver', b'message-encodings', default=list, experimental=True, ) coreconfigitem( - 'cmdserver', - 'track-log', - default=lambda: ['chgserver', 'cmdserver', 'repocache'], + b'cmdserver', + b'track-log', + default=lambda: [b'chgserver', b'cmdserver', b'repocache'], ) coreconfigitem( - 'color', '.*', default=None, generic=True, + b'color', b'.*', default=None, generic=True, ) coreconfigitem( - 'color', 'mode', default='auto', + b'color', b'mode', default=b'auto', ) coreconfigitem( - 'color', 'pagermode', default=dynamicdefault, + b'color', b'pagermode', default=dynamicdefault, ) -_registerdiffopts(section='commands', configprefix='commit.interactive.') +_registerdiffopts(section=b'commands', configprefix=b'commit.interactive.') coreconfigitem( - 'commands', 'commit.post-status', default=False, + b'commands', b'commit.post-status', default=False, ) coreconfigitem( - 'commands', 'grep.all-files', default=False, experimental=True, + b'commands', b'grep.all-files', default=False, experimental=True, ) coreconfigitem( - 'commands', 'resolve.confirm', default=False, + b'commands', b'resolve.confirm', default=False, ) coreconfigitem( - 'commands', 'resolve.explicit-re-merge', default=False, + b'commands', b'resolve.explicit-re-merge', default=False, ) coreconfigitem( - 'commands', 'resolve.mark-check', default='none', + b'commands', b'resolve.mark-check', default=b'none', ) -_registerdiffopts(section='commands', configprefix='revert.interactive.') +_registerdiffopts(section=b'commands', configprefix=b'revert.interactive.') coreconfigitem( - 'commands', 'show.aliasprefix', default=list, + b'commands', b'show.aliasprefix', default=list, ) coreconfigitem( - 'commands', 'status.relative', default=False, + b'commands', b'status.relative', default=False, ) coreconfigitem( - 'commands', 'status.skipstates', default=[], experimental=True, + b'commands', b'status.skipstates', default=[], experimental=True, ) coreconfigitem( - 'commands', 'status.terse', default='', + b'commands', b'status.terse', default=b'', ) coreconfigitem( - 'commands', 'status.verbose', default=False, + b'commands', b'status.verbose', default=False, ) coreconfigitem( - 'commands', 'update.check', default=None, + b'commands', b'update.check', default=None, ) coreconfigitem( - 'commands', 'update.requiredest', default=False, + b'commands', b'update.requiredest', default=False, ) coreconfigitem( - 'committemplate', '.*', default=None, generic=True, + b'committemplate', b'.*', default=None, generic=True, ) coreconfigitem( - 'convert', 'bzr.saverev', default=True, + b'convert', b'bzr.saverev', default=True, ) coreconfigitem( - 'convert', 'cvsps.cache', default=True, + b'convert', b'cvsps.cache', default=True, ) coreconfigitem( - 'convert', 'cvsps.fuzz', default=60, + b'convert', b'cvsps.fuzz', default=60, ) coreconfigitem( - 'convert', 'cvsps.logencoding', default=None, + b'convert', b'cvsps.logencoding', default=None, ) coreconfigitem( - 'convert', 'cvsps.mergefrom', default=None, + b'convert', b'cvsps.mergefrom', default=None, ) coreconfigitem( - 'convert', 'cvsps.mergeto', default=None, + b'convert', b'cvsps.mergeto', default=None, ) coreconfigitem( - 'convert', 'git.committeractions', default=lambda: ['messagedifferent'], + b'convert', b'git.committeractions', default=lambda: [b'messagedifferent'], ) coreconfigitem( - 'convert', 'git.extrakeys', default=list, + b'convert', b'git.extrakeys', default=list, ) coreconfigitem( - 'convert', 'git.findcopiesharder', default=False, + b'convert', b'git.findcopiesharder', default=False, ) coreconfigitem( - 'convert', 'git.remoteprefix', default='remote', + b'convert', b'git.remoteprefix', default=b'remote', ) coreconfigitem( - 'convert', 'git.renamelimit', default=400, + b'convert', b'git.renamelimit', default=400, ) coreconfigitem( - 'convert', 'git.saverev', default=True, + b'convert', b'git.saverev', default=True, ) coreconfigitem( - 'convert', 'git.similarity', default=50, + b'convert', b'git.similarity', default=50, ) coreconfigitem( - 'convert', 'git.skipsubmodules', default=False, + b'convert', b'git.skipsubmodules', default=False, ) coreconfigitem( - 'convert', 'hg.clonebranches', default=False, + b'convert', b'hg.clonebranches', default=False, ) coreconfigitem( - 'convert', 'hg.ignoreerrors', default=False, + b'convert', b'hg.ignoreerrors', default=False, ) coreconfigitem( - 'convert', 'hg.preserve-hash', default=False, + b'convert', b'hg.preserve-hash', default=False, ) coreconfigitem( - 'convert', 'hg.revs', default=None, + b'convert', b'hg.revs', default=None, ) coreconfigitem( - 'convert', 'hg.saverev', default=False, + b'convert', b'hg.saverev', default=False, ) coreconfigitem( - 'convert', 'hg.sourcename', default=None, + b'convert', b'hg.sourcename', default=None, ) coreconfigitem( - 'convert', 'hg.startrev', default=None, + b'convert', b'hg.startrev', default=None, ) coreconfigitem( - 'convert', 'hg.tagsbranch', default='default', + b'convert', b'hg.tagsbranch', default=b'default', ) coreconfigitem( - 'convert', 'hg.usebranchnames', default=True, + b'convert', b'hg.usebranchnames', default=True, ) coreconfigitem( - 'convert', 'ignoreancestorcheck', default=False, experimental=True, + b'convert', b'ignoreancestorcheck', default=False, experimental=True, ) coreconfigitem( - 'convert', 'localtimezone', default=False, + b'convert', b'localtimezone', default=False, ) coreconfigitem( - 'convert', 'p4.encoding', default=dynamicdefault, + b'convert', b'p4.encoding', default=dynamicdefault, ) coreconfigitem( - 'convert', 'p4.startrev', default=0, + b'convert', b'p4.startrev', default=0, ) coreconfigitem( - 'convert', 'skiptags', default=False, + b'convert', b'skiptags', default=False, ) coreconfigitem( - 'convert', 'svn.debugsvnlog', default=True, + b'convert', b'svn.debugsvnlog', default=True, ) coreconfigitem( - 'convert', 'svn.trunk', default=None, + b'convert', b'svn.trunk', default=None, ) coreconfigitem( - 'convert', 'svn.tags', default=None, + b'convert', b'svn.tags', default=None, ) coreconfigitem( - 'convert', 'svn.branches', default=None, + b'convert', b'svn.branches', default=None, ) coreconfigitem( - 'convert', 'svn.startrev', default=0, + b'convert', b'svn.startrev', default=0, ) coreconfigitem( - 'debug', 'dirstate.delaywrite', default=0, + b'debug', b'dirstate.delaywrite', default=0, ) coreconfigitem( - 'defaults', '.*', default=None, generic=True, + b'defaults', b'.*', default=None, generic=True, ) coreconfigitem( - 'devel', 'all-warnings', default=False, + b'devel', b'all-warnings', default=False, ) coreconfigitem( - 'devel', 'bundle2.debug', default=False, + b'devel', b'bundle2.debug', default=False, ) coreconfigitem( - 'devel', 'bundle.delta', default='', + b'devel', b'bundle.delta', default=b'', ) coreconfigitem( - 'devel', 'cache-vfs', default=None, + b'devel', b'cache-vfs', default=None, ) coreconfigitem( - 'devel', 'check-locks', default=False, + b'devel', b'check-locks', default=False, ) coreconfigitem( - 'devel', 'check-relroot', default=False, + b'devel', b'check-relroot', default=False, ) coreconfigitem( - 'devel', 'default-date', default=None, + b'devel', b'default-date', default=None, ) coreconfigitem( - 'devel', 'deprec-warn', default=False, + b'devel', b'deprec-warn', default=False, ) coreconfigitem( - 'devel', 'disableloaddefaultcerts', default=False, + b'devel', b'disableloaddefaultcerts', default=False, ) coreconfigitem( - 'devel', 'warn-empty-changegroup', default=False, + b'devel', b'warn-empty-changegroup', default=False, ) coreconfigitem( - 'devel', 'legacy.exchange', default=list, + b'devel', b'legacy.exchange', default=list, ) coreconfigitem( - 'devel', 'servercafile', default='', + b'devel', b'servercafile', default=b'', ) coreconfigitem( - 'devel', 'serverexactprotocol', default='', + b'devel', b'serverexactprotocol', default=b'', ) coreconfigitem( - 'devel', 'serverrequirecert', default=False, + b'devel', b'serverrequirecert', default=False, ) coreconfigitem( - 'devel', 'strip-obsmarkers', default=True, + b'devel', b'strip-obsmarkers', default=True, ) coreconfigitem( - 'devel', 'warn-config', default=None, + b'devel', b'warn-config', default=None, ) coreconfigitem( - 'devel', 'warn-config-default', default=None, + b'devel', b'warn-config-default', default=None, ) coreconfigitem( - 'devel', 'user.obsmarker', default=None, + b'devel', b'user.obsmarker', default=None, ) coreconfigitem( - 'devel', 'warn-config-unknown', default=None, + b'devel', b'warn-config-unknown', default=None, ) coreconfigitem( - 'devel', 'debug.copies', default=False, + b'devel', b'debug.copies', default=False, ) coreconfigitem( - 'devel', 'debug.extensions', default=False, + b'devel', b'debug.extensions', default=False, ) coreconfigitem( - 'devel', 'debug.peer-request', default=False, + b'devel', b'debug.peer-request', default=False, ) coreconfigitem( - 'devel', 'discovery.randomize', default=True, + b'devel', b'discovery.randomize', default=True, ) -_registerdiffopts(section='diff') +_registerdiffopts(section=b'diff') coreconfigitem( - 'email', 'bcc', default=None, + b'email', b'bcc', default=None, ) coreconfigitem( - 'email', 'cc', default=None, + b'email', b'cc', default=None, ) coreconfigitem( - 'email', 'charsets', default=list, + b'email', b'charsets', default=list, ) coreconfigitem( - 'email', 'from', default=None, + b'email', b'from', default=None, ) coreconfigitem( - 'email', 'method', default='smtp', + b'email', b'method', default=b'smtp', ) coreconfigitem( - 'email', 'reply-to', default=None, + b'email', b'reply-to', default=None, ) coreconfigitem( - 'email', 'to', default=None, + b'email', b'to', default=None, ) coreconfigitem( - 'experimental', 'archivemetatemplate', default=dynamicdefault, + b'experimental', b'archivemetatemplate', default=dynamicdefault, ) coreconfigitem( - 'experimental', 'auto-publish', default='publish', + b'experimental', b'auto-publish', default=b'publish', ) coreconfigitem( - 'experimental', 'bundle-phases', default=False, + b'experimental', b'bundle-phases', default=False, ) coreconfigitem( - 'experimental', 'bundle2-advertise', default=True, + b'experimental', b'bundle2-advertise', default=True, ) coreconfigitem( - 'experimental', 'bundle2-output-capture', default=False, + b'experimental', b'bundle2-output-capture', default=False, ) coreconfigitem( - 'experimental', 'bundle2.pushback', default=False, + b'experimental', b'bundle2.pushback', default=False, ) coreconfigitem( - 'experimental', 'bundle2lazylocking', default=False, + b'experimental', b'bundle2lazylocking', default=False, ) coreconfigitem( - 'experimental', 'bundlecomplevel', default=None, + b'experimental', b'bundlecomplevel', default=None, ) coreconfigitem( - 'experimental', 'bundlecomplevel.bzip2', default=None, + b'experimental', b'bundlecomplevel.bzip2', default=None, ) coreconfigitem( - 'experimental', 'bundlecomplevel.gzip', default=None, + b'experimental', b'bundlecomplevel.gzip', default=None, ) coreconfigitem( - 'experimental', 'bundlecomplevel.none', default=None, + b'experimental', b'bundlecomplevel.none', default=None, ) coreconfigitem( - 'experimental', 'bundlecomplevel.zstd', default=None, + b'experimental', b'bundlecomplevel.zstd', default=None, ) coreconfigitem( - 'experimental', 'changegroup3', default=False, + b'experimental', b'changegroup3', default=False, ) coreconfigitem( - 'experimental', 'cleanup-as-archived', default=False, + b'experimental', b'cleanup-as-archived', default=False, ) coreconfigitem( - 'experimental', 'clientcompressionengines', default=list, + b'experimental', b'clientcompressionengines', default=list, ) coreconfigitem( - 'experimental', 'copytrace', default='on', + b'experimental', b'copytrace', default=b'on', ) coreconfigitem( - 'experimental', 'copytrace.movecandidateslimit', default=100, + b'experimental', b'copytrace.movecandidateslimit', default=100, ) coreconfigitem( - 'experimental', 'copytrace.sourcecommitlimit', default=100, + b'experimental', b'copytrace.sourcecommitlimit', default=100, ) coreconfigitem( - 'experimental', 'copies.read-from', default="filelog-only", + b'experimental', b'copies.read-from', default=b"filelog-only", ) coreconfigitem( - 'experimental', 'copies.write-to', default='filelog-only', + b'experimental', b'copies.write-to', default=b'filelog-only', ) coreconfigitem( - 'experimental', 'crecordtest', default=None, + b'experimental', b'crecordtest', default=None, ) coreconfigitem( - 'experimental', 'directaccess', default=False, + b'experimental', b'directaccess', default=False, ) coreconfigitem( - 'experimental', 'directaccess.revnums', default=False, + b'experimental', b'directaccess.revnums', default=False, ) coreconfigitem( - 'experimental', 'editortmpinhg', default=False, + b'experimental', b'editortmpinhg', default=False, ) coreconfigitem( - 'experimental', 'evolution', default=list, + b'experimental', b'evolution', default=list, ) coreconfigitem( - 'experimental', - 'evolution.allowdivergence', + b'experimental', + b'evolution.allowdivergence', default=False, - alias=[('experimental', 'allowdivergence')], + alias=[(b'experimental', b'allowdivergence')], ) coreconfigitem( - 'experimental', 'evolution.allowunstable', default=None, + b'experimental', b'evolution.allowunstable', default=None, ) coreconfigitem( - 'experimental', 'evolution.createmarkers', default=None, + b'experimental', b'evolution.createmarkers', default=None, ) coreconfigitem( - 'experimental', - 'evolution.effect-flags', + b'experimental', + b'evolution.effect-flags', default=True, - alias=[('experimental', 'effect-flags')], + alias=[(b'experimental', b'effect-flags')], ) coreconfigitem( - 'experimental', 'evolution.exchange', default=None, + b'experimental', b'evolution.exchange', default=None, ) coreconfigitem( - 'experimental', 'evolution.bundle-obsmarker', default=False, + b'experimental', b'evolution.bundle-obsmarker', default=False, ) coreconfigitem( - 'experimental', 'log.topo', default=False, + b'experimental', b'log.topo', default=False, ) coreconfigitem( - 'experimental', 'evolution.report-instabilities', default=True, + b'experimental', b'evolution.report-instabilities', default=True, ) coreconfigitem( - 'experimental', 'evolution.track-operation', default=True, + b'experimental', b'evolution.track-operation', default=True, ) # 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`. coreconfigitem( - 'experimental', 'extra-filter-revs', default=None, + b'experimental', b'extra-filter-revs', default=None, ) coreconfigitem( - 'experimental', 'maxdeltachainspan', default=-1, + b'experimental', b'maxdeltachainspan', default=-1, ) coreconfigitem( - 'experimental', 'mergetempdirprefix', default=None, + b'experimental', b'mergetempdirprefix', default=None, ) coreconfigitem( - 'experimental', 'mmapindexthreshold', default=None, + b'experimental', b'mmapindexthreshold', default=None, ) coreconfigitem( - 'experimental', 'narrow', default=False, + b'experimental', b'narrow', default=False, ) coreconfigitem( - 'experimental', 'nonnormalparanoidcheck', default=False, + b'experimental', b'nonnormalparanoidcheck', default=False, ) coreconfigitem( - 'experimental', 'exportableenviron', default=list, + b'experimental', b'exportableenviron', default=list, ) coreconfigitem( - 'experimental', 'extendedheader.index', default=None, + b'experimental', b'extendedheader.index', default=None, ) coreconfigitem( - 'experimental', 'extendedheader.similarity', default=False, + b'experimental', b'extendedheader.similarity', default=False, ) coreconfigitem( - 'experimental', 'graphshorten', default=False, + b'experimental', b'graphshorten', default=False, ) coreconfigitem( - 'experimental', 'graphstyle.parent', default=dynamicdefault, + b'experimental', b'graphstyle.parent', default=dynamicdefault, ) coreconfigitem( - 'experimental', 'graphstyle.missing', default=dynamicdefault, + b'experimental', b'graphstyle.missing', default=dynamicdefault, ) coreconfigitem( - 'experimental', 'graphstyle.grandparent', default=dynamicdefault, + b'experimental', b'graphstyle.grandparent', default=dynamicdefault, ) coreconfigitem( - 'experimental', 'hook-track-tags', default=False, + b'experimental', b'hook-track-tags', default=False, ) coreconfigitem( - 'experimental', 'httppeer.advertise-v2', default=False, + b'experimental', b'httppeer.advertise-v2', default=False, ) coreconfigitem( - 'experimental', 'httppeer.v2-encoder-order', default=None, + b'experimental', b'httppeer.v2-encoder-order', default=None, ) coreconfigitem( - 'experimental', 'httppostargs', default=False, + b'experimental', b'httppostargs', default=False, ) coreconfigitem( - 'experimental', 'mergedriver', default=None, + b'experimental', b'mergedriver', default=None, ) -coreconfigitem('experimental', 'nointerrupt', default=False) -coreconfigitem('experimental', 'nointerrupt-interactiveonly', default=True) +coreconfigitem(b'experimental', b'nointerrupt', default=False) +coreconfigitem(b'experimental', b'nointerrupt-interactiveonly', default=True) coreconfigitem( - 'experimental', 'obsmarkers-exchange-debug', default=False, + b'experimental', b'obsmarkers-exchange-debug', default=False, ) coreconfigitem( - 'experimental', 'remotenames', default=False, + b'experimental', b'remotenames', default=False, ) coreconfigitem( - 'experimental', 'removeemptydirs', default=True, + b'experimental', b'removeemptydirs', default=True, ) coreconfigitem( - 'experimental', 'revert.interactive.select-to-keep', default=False, + b'experimental', b'revert.interactive.select-to-keep', default=False, ) coreconfigitem( - 'experimental', 'revisions.prefixhexnode', default=False, + b'experimental', b'revisions.prefixhexnode', default=False, ) coreconfigitem( - 'experimental', 'revlogv2', default=None, + b'experimental', b'revlogv2', default=None, ) coreconfigitem( - 'experimental', 'revisions.disambiguatewithin', default=None, + b'experimental', b'revisions.disambiguatewithin', default=None, ) coreconfigitem( - 'experimental', 'server.filesdata.recommended-batch-size', default=50000, + b'experimental', b'server.filesdata.recommended-batch-size', default=50000, ) coreconfigitem( - 'experimental', - 'server.manifestdata.recommended-batch-size', + b'experimental', + b'server.manifestdata.recommended-batch-size', default=100000, ) coreconfigitem( - 'experimental', 'server.stream-narrow-clones', default=False, + b'experimental', b'server.stream-narrow-clones', default=False, ) coreconfigitem( - 'experimental', 'single-head-per-branch', default=False, + b'experimental', b'single-head-per-branch', default=False, ) coreconfigitem( - 'experimental', - 'single-head-per-branch:account-closed-heads', + b'experimental', + b'single-head-per-branch:account-closed-heads', default=False, ) coreconfigitem( - 'experimental', 'sshserver.support-v2', default=False, + b'experimental', b'sshserver.support-v2', default=False, ) coreconfigitem( - 'experimental', 'sparse-read', default=False, + b'experimental', b'sparse-read', default=False, ) coreconfigitem( - 'experimental', 'sparse-read.density-threshold', default=0.50, + b'experimental', b'sparse-read.density-threshold', default=0.50, ) coreconfigitem( - 'experimental', 'sparse-read.min-gap-size', default='65K', + b'experimental', b'sparse-read.min-gap-size', default=b'65K', ) coreconfigitem( - 'experimental', 'treemanifest', default=False, + b'experimental', b'treemanifest', default=False, ) coreconfigitem( - 'experimental', 'update.atomic-file', default=False, + b'experimental', b'update.atomic-file', default=False, ) coreconfigitem( - 'experimental', 'sshpeer.advertise-v2', default=False, + b'experimental', b'sshpeer.advertise-v2', default=False, ) coreconfigitem( - 'experimental', 'web.apiserver', default=False, + b'experimental', b'web.apiserver', default=False, ) coreconfigitem( - 'experimental', 'web.api.http-v2', default=False, + b'experimental', b'web.api.http-v2', default=False, ) coreconfigitem( - 'experimental', 'web.api.debugreflect', default=False, + b'experimental', b'web.api.debugreflect', default=False, ) coreconfigitem( - 'experimental', 'worker.wdir-get-thread-safe', default=False, + b'experimental', b'worker.wdir-get-thread-safe', default=False, ) coreconfigitem( - 'experimental', 'xdiff', default=False, + b'experimental', b'xdiff', default=False, ) coreconfigitem( - 'extensions', '.*', default=None, generic=True, + b'extensions', b'.*', default=None, generic=True, ) coreconfigitem( - 'extdata', '.*', default=None, generic=True, + b'extdata', b'.*', default=None, generic=True, ) coreconfigitem( - 'format', 'bookmarks-in-store', default=False, + b'format', b'bookmarks-in-store', default=False, ) coreconfigitem( - 'format', 'chunkcachesize', default=None, experimental=True, + b'format', b'chunkcachesize', default=None, experimental=True, ) coreconfigitem( - 'format', 'dotencode', default=True, + b'format', b'dotencode', default=True, ) coreconfigitem( - 'format', 'generaldelta', default=False, experimental=True, + b'format', b'generaldelta', default=False, experimental=True, ) coreconfigitem( - 'format', 'manifestcachesize', default=None, experimental=True, + b'format', b'manifestcachesize', default=None, experimental=True, ) coreconfigitem( - 'format', 'maxchainlen', default=dynamicdefault, experimental=True, + b'format', b'maxchainlen', default=dynamicdefault, experimental=True, ) coreconfigitem( - 'format', 'obsstore-version', default=None, + b'format', b'obsstore-version', default=None, ) coreconfigitem( - 'format', 'sparse-revlog', default=True, + b'format', b'sparse-revlog', default=True, ) coreconfigitem( - 'format', - 'revlog-compression', - default='zlib', - alias=[('experimental', 'format.compression')], + b'format', + b'revlog-compression', + default=b'zlib', + alias=[(b'experimental', b'format.compression')], ) coreconfigitem( - 'format', 'usefncache', default=True, + b'format', b'usefncache', default=True, +) +coreconfigitem( + b'format', b'usegeneraldelta', default=True, ) coreconfigitem( - 'format', 'usegeneraldelta', default=True, + b'format', b'usestore', default=True, ) coreconfigitem( - 'format', 'usestore', default=True, + b'format', b'use-side-data', default=False, experimental=True, ) coreconfigitem( - 'format', 'use-side-data', default=False, experimental=True, + b'format', b'internal-phase', default=False, experimental=True, ) coreconfigitem( - 'format', 'internal-phase', default=False, experimental=True, + b'fsmonitor', b'warn_when_unused', default=True, ) coreconfigitem( - 'fsmonitor', 'warn_when_unused', default=True, + b'fsmonitor', b'warn_update_file_count', default=50000, ) coreconfigitem( - 'fsmonitor', 'warn_update_file_count', default=50000, + b'help', br'hidden-command\..*', default=False, generic=True, ) coreconfigitem( - 'help', br'hidden-command\..*', default=False, generic=True, + b'help', br'hidden-topic\..*', default=False, generic=True, ) coreconfigitem( - 'help', br'hidden-topic\..*', default=False, generic=True, + b'hooks', b'.*', default=dynamicdefault, generic=True, ) coreconfigitem( - 'hooks', '.*', default=dynamicdefault, generic=True, + b'hgweb-paths', b'.*', default=list, generic=True, ) coreconfigitem( - 'hgweb-paths', '.*', default=list, generic=True, + b'hostfingerprints', b'.*', default=list, generic=True, ) coreconfigitem( - 'hostfingerprints', '.*', default=list, generic=True, + b'hostsecurity', b'ciphers', default=None, ) coreconfigitem( - 'hostsecurity', 'ciphers', default=None, + b'hostsecurity', b'disabletls10warning', default=False, ) coreconfigitem( - 'hostsecurity', 'disabletls10warning', default=False, -) -coreconfigitem( - 'hostsecurity', 'minimumprotocol', default=dynamicdefault, + b'hostsecurity', b'minimumprotocol', default=dynamicdefault, ) coreconfigitem( - 'hostsecurity', '.*:minimumprotocol$', default=dynamicdefault, generic=True, + b'hostsecurity', + b'.*:minimumprotocol$', + default=dynamicdefault, + generic=True, ) coreconfigitem( - 'hostsecurity', '.*:ciphers$', default=dynamicdefault, generic=True, + b'hostsecurity', b'.*:ciphers$', default=dynamicdefault, generic=True, ) coreconfigitem( - 'hostsecurity', '.*:fingerprints$', default=list, generic=True, + b'hostsecurity', b'.*:fingerprints$', default=list, generic=True, ) coreconfigitem( - 'hostsecurity', '.*:verifycertsfile$', default=None, generic=True, + b'hostsecurity', b'.*:verifycertsfile$', default=None, generic=True, ) coreconfigitem( - 'http_proxy', 'always', default=False, + b'http_proxy', b'always', default=False, ) coreconfigitem( - 'http_proxy', 'host', default=None, + b'http_proxy', b'host', default=None, ) coreconfigitem( - 'http_proxy', 'no', default=list, + b'http_proxy', b'no', default=list, ) coreconfigitem( - 'http_proxy', 'passwd', default=None, + b'http_proxy', b'passwd', default=None, ) coreconfigitem( - 'http_proxy', 'user', default=None, + b'http_proxy', b'user', default=None, ) coreconfigitem( - 'http', 'timeout', default=None, + b'http', b'timeout', default=None, ) coreconfigitem( - 'logtoprocess', 'commandexception', default=None, + b'logtoprocess', b'commandexception', default=None, ) coreconfigitem( - 'logtoprocess', 'commandfinish', default=None, + b'logtoprocess', b'commandfinish', default=None, ) coreconfigitem( - 'logtoprocess', 'command', default=None, + b'logtoprocess', b'command', default=None, ) coreconfigitem( - 'logtoprocess', 'develwarn', default=None, + b'logtoprocess', b'develwarn', default=None, ) coreconfigitem( - 'logtoprocess', 'uiblocked', default=None, + b'logtoprocess', b'uiblocked', default=None, ) coreconfigitem( - 'merge', 'checkunknown', default='abort', + b'merge', b'checkunknown', default=b'abort', ) coreconfigitem( - 'merge', 'checkignored', default='abort', + b'merge', b'checkignored', default=b'abort', ) coreconfigitem( - 'experimental', 'merge.checkpathconflicts', default=False, + b'experimental', b'merge.checkpathconflicts', default=False, ) coreconfigitem( - 'merge', 'followcopies', default=True, + b'merge', b'followcopies', default=True, ) coreconfigitem( - 'merge', 'on-failure', default='continue', + b'merge', b'on-failure', default=b'continue', ) coreconfigitem( - 'merge', 'preferancestor', default=lambda: ['*'], experimental=True, + b'merge', b'preferancestor', default=lambda: [b'*'], experimental=True, ) coreconfigitem( - 'merge', 'strict-capability-check', default=False, + b'merge', b'strict-capability-check', default=False, ) coreconfigitem( - 'merge-tools', '.*', default=None, generic=True, + b'merge-tools', b'.*', default=None, generic=True, ) coreconfigitem( - 'merge-tools', + b'merge-tools', br'.*\.args$', - default="$local $base $other", + default=b"$local $base $other", generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', br'.*\.binary$', default=False, generic=True, priority=-1, + b'merge-tools', br'.*\.binary$', default=False, generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', br'.*\.check$', default=list, generic=True, priority=-1, + b'merge-tools', br'.*\.check$', default=list, generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', + b'merge-tools', br'.*\.checkchanged$', default=False, generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', + b'merge-tools', br'.*\.executable$', default=dynamicdefault, generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', br'.*\.fixeol$', default=False, generic=True, priority=-1, + b'merge-tools', br'.*\.fixeol$', default=False, generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', br'.*\.gui$', default=False, generic=True, priority=-1, + b'merge-tools', br'.*\.gui$', default=False, generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', + b'merge-tools', br'.*\.mergemarkers$', - default='basic', + default=b'basic', generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', + b'merge-tools', br'.*\.mergemarkertemplate$', default=dynamicdefault, # take from ui.mergemarkertemplate generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', br'.*\.priority$', default=0, generic=True, priority=-1, + b'merge-tools', br'.*\.priority$', default=0, generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', + b'merge-tools', br'.*\.premerge$', default=dynamicdefault, generic=True, priority=-1, ) coreconfigitem( - 'merge-tools', br'.*\.symlink$', default=False, generic=True, priority=-1, + b'merge-tools', br'.*\.symlink$', default=False, generic=True, priority=-1, ) coreconfigitem( - 'pager', 'attend-.*', default=dynamicdefault, generic=True, + b'pager', b'attend-.*', default=dynamicdefault, generic=True, ) coreconfigitem( - 'pager', 'ignore', default=list, + b'pager', b'ignore', default=list, ) coreconfigitem( - 'pager', 'pager', default=dynamicdefault, + b'pager', b'pager', default=dynamicdefault, ) coreconfigitem( - 'patch', 'eol', default='strict', + b'patch', b'eol', default=b'strict', ) coreconfigitem( - 'patch', 'fuzz', default=2, + b'patch', b'fuzz', default=2, ) coreconfigitem( - 'paths', 'default', default=None, + b'paths', b'default', default=None, ) coreconfigitem( - 'paths', 'default-push', default=None, + b'paths', b'default-push', default=None, ) coreconfigitem( - 'paths', '.*', default=None, generic=True, + b'paths', b'.*', default=None, generic=True, ) coreconfigitem( - 'phases', 'checksubrepos', default='follow', + b'phases', b'checksubrepos', default=b'follow', ) coreconfigitem( - 'phases', 'new-commit', default='draft', + b'phases', b'new-commit', default=b'draft', ) coreconfigitem( - 'phases', 'publish', default=True, + b'phases', b'publish', default=True, ) coreconfigitem( - 'profiling', 'enabled', default=False, + b'profiling', b'enabled', default=False, ) coreconfigitem( - 'profiling', 'format', default='text', + b'profiling', b'format', default=b'text', ) coreconfigitem( - 'profiling', 'freq', default=1000, + b'profiling', b'freq', default=1000, ) coreconfigitem( - 'profiling', 'limit', default=30, + b'profiling', b'limit', default=30, ) coreconfigitem( - 'profiling', 'nested', default=0, + b'profiling', b'nested', default=0, ) coreconfigitem( - 'profiling', 'output', default=None, + b'profiling', b'output', default=None, ) coreconfigitem( - 'profiling', 'showmax', default=0.999, + b'profiling', b'showmax', default=0.999, ) coreconfigitem( - 'profiling', 'showmin', default=dynamicdefault, + b'profiling', b'showmin', default=dynamicdefault, ) coreconfigitem( - 'profiling', 'showtime', default=True, + b'profiling', b'showtime', default=True, ) coreconfigitem( - 'profiling', 'sort', default='inlinetime', + b'profiling', b'sort', default=b'inlinetime', ) coreconfigitem( - 'profiling', 'statformat', default='hotpath', + b'profiling', b'statformat', default=b'hotpath', ) coreconfigitem( - 'profiling', 'time-track', default=dynamicdefault, + b'profiling', b'time-track', default=dynamicdefault, ) coreconfigitem( - 'profiling', 'type', default='stat', + b'profiling', b'type', default=b'stat', ) coreconfigitem( - 'progress', 'assume-tty', default=False, + b'progress', b'assume-tty', default=False, ) coreconfigitem( - 'progress', 'changedelay', default=1, + b'progress', b'changedelay', default=1, ) coreconfigitem( - 'progress', 'clear-complete', default=True, + b'progress', b'clear-complete', default=True, ) coreconfigitem( - 'progress', 'debug', default=False, + b'progress', b'debug', default=False, ) coreconfigitem( - 'progress', 'delay', default=3, + b'progress', b'delay', default=3, ) coreconfigitem( - 'progress', 'disable', default=False, + b'progress', b'disable', default=False, ) coreconfigitem( - 'progress', 'estimateinterval', default=60.0, + b'progress', b'estimateinterval', default=60.0, ) coreconfigitem( - 'progress', - 'format', - default=lambda: ['topic', 'bar', 'number', 'estimate'], + b'progress', + b'format', + default=lambda: [b'topic', b'bar', b'number', b'estimate'], ) coreconfigitem( - 'progress', 'refresh', default=0.1, + b'progress', b'refresh', default=0.1, ) coreconfigitem( - 'progress', 'width', default=dynamicdefault, + b'progress', b'width', default=dynamicdefault, ) coreconfigitem( - 'push', 'pushvars.server', default=False, + b'push', b'pushvars.server', default=False, ) coreconfigitem( - 'rewrite', - 'backup-bundle', + b'rewrite', + b'backup-bundle', default=True, - alias=[('ui', 'history-editing-backup')], + alias=[(b'ui', b'history-editing-backup')], ) coreconfigitem( - 'rewrite', 'update-timestamp', default=False, + b'rewrite', b'update-timestamp', default=False, ) coreconfigitem( - 'storage', 'new-repo-backend', default='revlogv1', experimental=True, + b'storage', b'new-repo-backend', default=b'revlogv1', experimental=True, ) coreconfigitem( - 'storage', - 'revlog.optimize-delta-parent-choice', + b'storage', + b'revlog.optimize-delta-parent-choice', default=True, - alias=[('format', 'aggressivemergedeltas')], + alias=[(b'format', b'aggressivemergedeltas')], ) coreconfigitem( - 'storage', 'revlog.reuse-external-delta', default=True, + b'storage', b'revlog.reuse-external-delta', default=True, ) coreconfigitem( - 'storage', 'revlog.reuse-external-delta-parent', default=None, + b'storage', b'revlog.reuse-external-delta-parent', default=None, ) coreconfigitem( - 'storage', 'revlog.zlib.level', default=None, + b'storage', b'revlog.zlib.level', default=None, ) coreconfigitem( - 'storage', 'revlog.zstd.level', default=None, + b'storage', b'revlog.zstd.level', default=None, ) coreconfigitem( - 'server', 'bookmarks-pushkey-compat', default=True, + b'server', b'bookmarks-pushkey-compat', default=True, ) coreconfigitem( - 'server', 'bundle1', default=True, + b'server', b'bundle1', default=True, ) coreconfigitem( - 'server', 'bundle1gd', default=None, + b'server', b'bundle1gd', default=None, ) coreconfigitem( - 'server', 'bundle1.pull', default=None, + b'server', b'bundle1.pull', default=None, ) coreconfigitem( - 'server', 'bundle1gd.pull', default=None, + b'server', b'bundle1gd.pull', default=None, ) coreconfigitem( - 'server', 'bundle1.push', default=None, + b'server', b'bundle1.push', default=None, ) coreconfigitem( - 'server', 'bundle1gd.push', default=None, + b'server', b'bundle1gd.push', default=None, ) coreconfigitem( - 'server', - 'bundle2.stream', + b'server', + b'bundle2.stream', default=True, - alias=[('experimental', 'bundle2.stream')], + alias=[(b'experimental', b'bundle2.stream')], ) coreconfigitem( - 'server', 'compressionengines', default=list, + b'server', b'compressionengines', default=list, ) coreconfigitem( - 'server', 'concurrent-push-mode', default='strict', + b'server', b'concurrent-push-mode', default=b'strict', ) coreconfigitem( - 'server', 'disablefullbundle', default=False, + b'server', b'disablefullbundle', default=False, ) coreconfigitem( - 'server', 'maxhttpheaderlen', default=1024, + b'server', b'maxhttpheaderlen', default=1024, ) coreconfigitem( - 'server', 'pullbundle', default=False, + b'server', b'pullbundle', default=False, ) coreconfigitem( - 'server', 'preferuncompressed', default=False, + b'server', b'preferuncompressed', default=False, ) coreconfigitem( - 'server', 'streamunbundle', default=False, + b'server', b'streamunbundle', default=False, ) coreconfigitem( - 'server', 'uncompressed', default=True, + b'server', b'uncompressed', default=True, ) coreconfigitem( - 'server', 'uncompressedallowsecret', default=False, + b'server', b'uncompressedallowsecret', default=False, ) coreconfigitem( - 'server', 'view', default='served', + b'server', b'view', default=b'served', ) coreconfigitem( - 'server', 'validate', default=False, + b'server', b'validate', default=False, ) coreconfigitem( - 'server', 'zliblevel', default=-1, + b'server', b'zliblevel', default=-1, ) coreconfigitem( - 'server', 'zstdlevel', default=3, + b'server', b'zstdlevel', default=3, ) coreconfigitem( - 'share', 'pool', default=None, + b'share', b'pool', default=None, ) coreconfigitem( - 'share', 'poolnaming', default='identity', + b'share', b'poolnaming', default=b'identity', ) coreconfigitem( - 'shelve', 'maxbackups', default=10, + b'shelve', b'maxbackups', default=10, ) coreconfigitem( - 'smtp', 'host', default=None, + b'smtp', b'host', default=None, ) coreconfigitem( - 'smtp', 'local_hostname', default=None, + b'smtp', b'local_hostname', default=None, ) coreconfigitem( - 'smtp', 'password', default=None, + b'smtp', b'password', default=None, ) coreconfigitem( - 'smtp', 'port', default=dynamicdefault, + b'smtp', b'port', default=dynamicdefault, ) coreconfigitem( - 'smtp', 'tls', default='none', + b'smtp', b'tls', default=b'none', ) coreconfigitem( - 'smtp', 'username', default=None, + b'smtp', b'username', default=None, ) coreconfigitem( - 'sparse', 'missingwarning', default=True, experimental=True, + b'sparse', b'missingwarning', default=True, experimental=True, ) coreconfigitem( - 'subrepos', - 'allowed', + b'subrepos', + b'allowed', default=dynamicdefault, # to make backporting simpler ) coreconfigitem( - 'subrepos', 'hg:allowed', default=dynamicdefault, + b'subrepos', b'hg:allowed', default=dynamicdefault, ) coreconfigitem( - 'subrepos', 'git:allowed', default=dynamicdefault, + b'subrepos', b'git:allowed', default=dynamicdefault, ) coreconfigitem( - 'subrepos', 'svn:allowed', default=dynamicdefault, + b'subrepos', b'svn:allowed', default=dynamicdefault, ) coreconfigitem( - 'templates', '.*', default=None, generic=True, + b'templates', b'.*', default=None, generic=True, ) coreconfigitem( - 'templateconfig', '.*', default=dynamicdefault, generic=True, + b'templateconfig', b'.*', default=dynamicdefault, generic=True, ) coreconfigitem( - 'trusted', 'groups', default=list, + b'trusted', b'groups', default=list, ) coreconfigitem( - 'trusted', 'users', default=list, + b'trusted', b'users', default=list, ) coreconfigitem( - 'ui', '_usedassubrepo', default=False, + b'ui', b'_usedassubrepo', default=False, ) coreconfigitem( - 'ui', 'allowemptycommit', default=False, + b'ui', b'allowemptycommit', default=False, ) coreconfigitem( - 'ui', 'archivemeta', default=True, + b'ui', b'archivemeta', default=True, ) coreconfigitem( - 'ui', 'askusername', default=False, + b'ui', b'askusername', default=False, ) coreconfigitem( - 'ui', 'clonebundlefallback', default=False, + b'ui', b'clonebundlefallback', default=False, ) coreconfigitem( - 'ui', 'clonebundleprefers', default=list, + b'ui', b'clonebundleprefers', default=list, ) coreconfigitem( - 'ui', 'clonebundles', default=True, + b'ui', b'clonebundles', default=True, ) coreconfigitem( - 'ui', 'color', default='auto', + b'ui', b'color', default=b'auto', ) coreconfigitem( - 'ui', 'commitsubrepos', default=False, + b'ui', b'commitsubrepos', default=False, ) coreconfigitem( - 'ui', 'debug', default=False, + b'ui', b'debug', default=False, ) coreconfigitem( - 'ui', 'debugger', default=None, + b'ui', b'debugger', default=None, ) coreconfigitem( - 'ui', 'editor', default=dynamicdefault, + b'ui', b'editor', default=dynamicdefault, ) coreconfigitem( - 'ui', 'fallbackencoding', default=None, + b'ui', b'fallbackencoding', default=None, ) coreconfigitem( - 'ui', 'forcecwd', default=None, + b'ui', b'forcecwd', default=None, ) coreconfigitem( - 'ui', 'forcemerge', default=None, + b'ui', b'forcemerge', default=None, ) coreconfigitem( - 'ui', 'formatdebug', default=False, + b'ui', b'formatdebug', default=False, ) coreconfigitem( - 'ui', 'formatjson', default=False, + b'ui', b'formatjson', default=False, ) coreconfigitem( - 'ui', 'formatted', default=None, + b'ui', b'formatted', default=None, ) coreconfigitem( - 'ui', 'graphnodetemplate', default=None, + b'ui', b'graphnodetemplate', default=None, ) coreconfigitem( - 'ui', 'interactive', default=None, + b'ui', b'interactive', default=None, ) coreconfigitem( - 'ui', 'interface', default=None, + b'ui', b'interface', default=None, ) coreconfigitem( - 'ui', 'interface.chunkselector', default=None, + b'ui', b'interface.chunkselector', default=None, ) coreconfigitem( - 'ui', 'large-file-limit', default=10000000, + b'ui', b'large-file-limit', default=10000000, ) coreconfigitem( - 'ui', 'logblockedtimes', default=False, + b'ui', b'logblockedtimes', default=False, ) coreconfigitem( - 'ui', 'logtemplate', default=None, + b'ui', b'logtemplate', default=None, ) coreconfigitem( - 'ui', 'merge', default=None, + b'ui', b'merge', default=None, ) coreconfigitem( - 'ui', 'mergemarkers', default='basic', + b'ui', b'mergemarkers', default=b'basic', ) coreconfigitem( - 'ui', - 'mergemarkertemplate', + b'ui', + b'mergemarkertemplate', default=( - '{node|short} ' - '{ifeq(tags, "tip", "", ' - 'ifeq(tags, "", "", "{tags} "))}' - '{if(bookmarks, "{bookmarks} ")}' - '{ifeq(branch, "default", "", "{branch} ")}' - '- {author|user}: {desc|firstline}' + 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}' ), ) coreconfigitem( - 'ui', 'message-output', default='stdio', + b'ui', b'message-output', default=b'stdio', ) coreconfigitem( - 'ui', 'nontty', default=False, + b'ui', b'nontty', default=False, ) coreconfigitem( - 'ui', 'origbackuppath', default=None, + b'ui', b'origbackuppath', default=None, ) coreconfigitem( - 'ui', 'paginate', default=True, + b'ui', b'paginate', default=True, ) coreconfigitem( - 'ui', 'patch', default=None, + b'ui', b'patch', default=None, ) coreconfigitem( - 'ui', 'pre-merge-tool-output-template', default=None, + b'ui', b'pre-merge-tool-output-template', default=None, ) coreconfigitem( - 'ui', 'portablefilenames', default='warn', + b'ui', b'portablefilenames', default=b'warn', ) coreconfigitem( - 'ui', 'promptecho', default=False, + b'ui', b'promptecho', default=False, ) coreconfigitem( - 'ui', 'quiet', default=False, + b'ui', b'quiet', default=False, ) coreconfigitem( - 'ui', 'quietbookmarkmove', default=False, + b'ui', b'quietbookmarkmove', default=False, ) coreconfigitem( - 'ui', 'relative-paths', default='legacy', + b'ui', b'relative-paths', default=b'legacy', ) coreconfigitem( - 'ui', 'remotecmd', default='hg', + b'ui', b'remotecmd', default=b'hg', ) coreconfigitem( - 'ui', 'report_untrusted', default=True, + b'ui', b'report_untrusted', default=True, ) coreconfigitem( - 'ui', 'rollback', default=True, + b'ui', b'rollback', default=True, ) coreconfigitem( - 'ui', 'signal-safe-lock', default=True, + b'ui', b'signal-safe-lock', default=True, ) coreconfigitem( - 'ui', 'slash', default=False, + b'ui', b'slash', default=False, ) coreconfigitem( - 'ui', 'ssh', default='ssh', + b'ui', b'ssh', default=b'ssh', ) coreconfigitem( - 'ui', 'ssherrorhint', default=None, + b'ui', b'ssherrorhint', default=None, ) coreconfigitem( - 'ui', 'statuscopies', default=False, + b'ui', b'statuscopies', default=False, ) coreconfigitem( - 'ui', 'strict', default=False, + b'ui', b'strict', default=False, ) coreconfigitem( - 'ui', 'style', default='', + b'ui', b'style', default=b'', ) coreconfigitem( - 'ui', 'supportcontact', default=None, + b'ui', b'supportcontact', default=None, ) coreconfigitem( - 'ui', 'textwidth', default=78, + b'ui', b'textwidth', default=78, ) coreconfigitem( - 'ui', 'timeout', default='600', + b'ui', b'timeout', default=b'600', ) coreconfigitem( - 'ui', 'timeout.warn', default=0, + b'ui', b'timeout.warn', default=0, ) coreconfigitem( - 'ui', 'traceback', default=False, + b'ui', b'traceback', default=False, ) coreconfigitem( - 'ui', 'tweakdefaults', default=False, + b'ui', b'tweakdefaults', default=False, ) -coreconfigitem('ui', 'username', alias=[('ui', 'user')]) +coreconfigitem(b'ui', b'username', alias=[(b'ui', b'user')]) coreconfigitem( - 'ui', 'verbose', default=False, + b'ui', b'verbose', default=False, ) coreconfigitem( - 'verify', 'skipflags', default=None, + b'verify', b'skipflags', default=None, ) coreconfigitem( - 'web', 'allowbz2', default=False, + b'web', b'allowbz2', default=False, ) coreconfigitem( - 'web', 'allowgz', default=False, + b'web', b'allowgz', default=False, ) coreconfigitem( - 'web', 'allow-pull', alias=[('web', 'allowpull')], default=True, + b'web', b'allow-pull', alias=[(b'web', b'allowpull')], default=True, ) coreconfigitem( - 'web', 'allow-push', alias=[('web', 'allow_push')], default=list, + b'web', b'allow-push', alias=[(b'web', b'allow_push')], default=list, ) coreconfigitem( - 'web', 'allowzip', default=False, + b'web', b'allowzip', default=False, ) coreconfigitem( - 'web', 'archivesubrepos', default=False, + b'web', b'archivesubrepos', default=False, ) coreconfigitem( - 'web', 'cache', default=True, + b'web', b'cache', default=True, ) coreconfigitem( - 'web', 'comparisoncontext', default=5, + b'web', b'comparisoncontext', default=5, ) coreconfigitem( - 'web', 'contact', default=None, + b'web', b'contact', default=None, ) coreconfigitem( - 'web', 'deny_push', default=list, + b'web', b'deny_push', default=list, ) coreconfigitem( - 'web', 'guessmime', default=False, + b'web', b'guessmime', default=False, ) coreconfigitem( - 'web', 'hidden', default=False, + b'web', b'hidden', default=False, ) coreconfigitem( - 'web', 'labels', default=list, + b'web', b'labels', default=list, ) coreconfigitem( - 'web', 'logoimg', default='hglogo.png', + b'web', b'logoimg', default=b'hglogo.png', ) coreconfigitem( - 'web', 'logourl', default='https://mercurial-scm.org/', + b'web', b'logourl', default=b'https://mercurial-scm.org/', ) coreconfigitem( - 'web', 'accesslog', default='-', + b'web', b'accesslog', default=b'-', ) coreconfigitem( - 'web', 'address', default='', + b'web', b'address', default=b'', ) coreconfigitem( - 'web', 'allow-archive', alias=[('web', 'allow_archive')], default=list, + b'web', b'allow-archive', alias=[(b'web', b'allow_archive')], default=list, ) coreconfigitem( - 'web', 'allow_read', default=list, + b'web', b'allow_read', default=list, ) coreconfigitem( - 'web', 'baseurl', default=None, + b'web', b'baseurl', default=None, ) coreconfigitem( - 'web', 'cacerts', default=None, + b'web', b'cacerts', default=None, ) coreconfigitem( - 'web', 'certificate', default=None, + b'web', b'certificate', default=None, ) coreconfigitem( - 'web', 'collapse', default=False, + b'web', b'collapse', default=False, ) coreconfigitem( - 'web', 'csp', default=None, + b'web', b'csp', default=None, ) coreconfigitem( - 'web', 'deny_read', default=list, + b'web', b'deny_read', default=list, ) coreconfigitem( - 'web', 'descend', default=True, + b'web', b'descend', default=True, ) coreconfigitem( - 'web', 'description', default="", + b'web', b'description', default=b"", ) coreconfigitem( - 'web', 'encoding', default=lambda: encoding.encoding, + b'web', b'encoding', default=lambda: encoding.encoding, ) coreconfigitem( - 'web', 'errorlog', default='-', + b'web', b'errorlog', default=b'-', ) coreconfigitem( - 'web', 'ipv6', default=False, + b'web', b'ipv6', default=False, ) coreconfigitem( - 'web', 'maxchanges', default=10, + b'web', b'maxchanges', default=10, ) coreconfigitem( - 'web', 'maxfiles', default=10, + b'web', b'maxfiles', default=10, ) coreconfigitem( - 'web', 'maxshortchanges', default=60, + b'web', b'maxshortchanges', default=60, ) coreconfigitem( - 'web', 'motd', default='', + b'web', b'motd', default=b'', ) coreconfigitem( - 'web', 'name', default=dynamicdefault, + b'web', b'name', default=dynamicdefault, ) coreconfigitem( - 'web', 'port', default=8000, + b'web', b'port', default=8000, ) coreconfigitem( - 'web', 'prefix', default='', + b'web', b'prefix', default=b'', ) coreconfigitem( - 'web', 'push_ssl', default=True, + b'web', b'push_ssl', default=True, ) coreconfigitem( - 'web', 'refreshinterval', default=20, + b'web', b'refreshinterval', default=20, ) coreconfigitem( - 'web', 'server-header', default=None, + b'web', b'server-header', default=None, ) coreconfigitem( - 'web', 'static', default=None, + b'web', b'static', default=None, ) coreconfigitem( - 'web', 'staticurl', default=None, + b'web', b'staticurl', default=None, ) coreconfigitem( - 'web', 'stripes', default=1, + b'web', b'stripes', default=1, ) coreconfigitem( - 'web', 'style', default='paper', + b'web', b'style', default=b'paper', ) coreconfigitem( - 'web', 'templates', default=None, + b'web', b'templates', default=None, ) coreconfigitem( - 'web', 'view', default='served', experimental=True, + b'web', b'view', default=b'served', experimental=True, ) coreconfigitem( - 'worker', 'backgroundclose', default=dynamicdefault, + b'worker', b'backgroundclose', default=dynamicdefault, ) # Windows defaults to a limit of 512 open files. A buffer of 128 # should give us enough headway. coreconfigitem( - 'worker', 'backgroundclosemaxqueue', default=384, + b'worker', b'backgroundclosemaxqueue', default=384, ) coreconfigitem( - 'worker', 'backgroundcloseminfilecount', default=2048, + b'worker', b'backgroundcloseminfilecount', default=2048, ) coreconfigitem( - 'worker', 'backgroundclosethreadcount', default=4, + b'worker', b'backgroundclosethreadcount', default=4, ) coreconfigitem( - 'worker', 'enabled', default=True, + b'worker', b'enabled', default=True, ) coreconfigitem( - 'worker', 'numcpus', default=None, + b'worker', b'numcpus', default=None, ) # 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. coreconfigitem( - 'commands', 'rebase.requiredest', default=False, + b'commands', b'rebase.requiredest', default=False, ) coreconfigitem( - 'experimental', 'rebaseskipobsolete', default=True, + b'experimental', b'rebaseskipobsolete', default=True, ) coreconfigitem( - 'rebase', 'singletransaction', default=False, + b'rebase', b'singletransaction', default=False, ) coreconfigitem( - 'rebase', 'experimental.inmemory', default=False, + b'rebase', b'experimental.inmemory', default=False, )