configitems: register the 'bundle.reorder' config

This commit is contained in:
Pierre-Yves David 2017-06-30 03:31:35 +02:00
parent a0f6321906
commit 1084baf8c5
2 changed files with 5 additions and 1 deletions

View File

@ -483,7 +483,7 @@ class cg1packer(object):
bundlecaps = set() bundlecaps = set()
self._bundlecaps = bundlecaps self._bundlecaps = bundlecaps
# experimental config: bundle.reorder # experimental config: bundle.reorder
reorder = repo.ui.config('bundle', 'reorder', 'auto') reorder = repo.ui.config('bundle', 'reorder')
if reorder == 'auto': if reorder == 'auto':
reorder = None reorder = None
else: else:

View File

@ -67,6 +67,10 @@ coreconfigitem('bookmarks', 'pushing',
coreconfigitem('bundle', 'mainreporoot', coreconfigitem('bundle', 'mainreporoot',
default='', default='',
) )
# bundle.reorder: experimental config
coreconfigitem('bundle', 'reorder',
default='auto',
)
coreconfigitem('color', 'mode', coreconfigitem('color', 'mode',
default='auto', default='auto',
) )