diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py index 9c0cba72a5..9448c02bb1 100644 --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -483,7 +483,7 @@ class cg1packer(object): 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: diff --git a/mercurial/configitems.py b/mercurial/configitems.py index b656e85a8b..4df9f956fc 100644 --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -67,6 +67,10 @@ coreconfigitem('bookmarks', 'pushing', coreconfigitem('bundle', 'mainreporoot', default='', ) +# bundle.reorder: experimental config +coreconfigitem('bundle', 'reorder', + default='auto', +) coreconfigitem('color', 'mode', default='auto', )