# HG changeset patch # User Yuya Nishihara # Date 2017-10-12 15:14:28 # Node ID 8bea493e7297fb71a28e8ce4643fbed0d36179dc # Parent 174d115d8104687216d68723845fb15e9f830d75 configitems: correct default values of web.allow and web.hidden The default of ui.configbool() is False unless explicitly specified. diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -761,10 +761,10 @@ coreconfigitem('verify', 'skipflags', default=None, ) coreconfigitem('web', 'allowbz2', - default=None, + default=False, ) coreconfigitem('web', 'allowgz', - default=None, + default=False, ) coreconfigitem('web', 'allowpull', default=True, @@ -773,7 +773,7 @@ coreconfigitem('web', 'allow_push', default=list, ) coreconfigitem('web', 'allowzip', - default=None, + default=False, ) coreconfigitem('web', 'cache', default=True, @@ -788,7 +788,7 @@ coreconfigitem('web', 'guessmime', default=False, ) coreconfigitem('web', 'hidden', - default=None, + default=False, ) coreconfigitem('web', 'labels', default=list,