Mercurial > hg
changeset 33183:9f95f0bb343b
configitems: register the 'bundle.reorder' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:31:35 +0200 |
parents | 634997248c97 |
children | 649f3b0495c8 |
files | mercurial/changegroup.py mercurial/configitems.py |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/changegroup.py Fri Jun 30 03:31:26 2017 +0200 +++ b/mercurial/changegroup.py Fri Jun 30 03:31:35 2017 +0200 @@ -483,7 +483,7 @@ bundlecaps = set() self._bundlecaps = bundlecaps # experimental config: bundle.reorder - reorder = repo.ui.config('bundle', 'reorder', 'auto') + reorder = repo.ui.config('bundle', 'reorder') if reorder == 'auto': reorder = None else:
--- a/mercurial/configitems.py Fri Jun 30 03:31:26 2017 +0200 +++ b/mercurial/configitems.py Fri Jun 30 03:31:35 2017 +0200 @@ -67,6 +67,10 @@ coreconfigitem('bundle', 'mainreporoot', default='', ) +# bundle.reorder: experimental config +coreconfigitem('bundle', 'reorder', + default='auto', +) coreconfigitem('color', 'mode', default='auto', )