configitems: correct default values of web.allow<archtype> and web.hidden
authorYuya Nishihara <yuya@tcha.org>
Fri, 13 Oct 2017 00:14:28 +0900
changeset 34653 8bea493e7297
parent 34652 174d115d8104
child 34654 4182d2065e7a
configitems: correct default values of web.allow<archtype> and web.hidden The default of ui.configbool() is False unless explicitly specified.
mercurial/configitems.py
--- a/mercurial/configitems.py	Fri Oct 13 22:38:24 2017 +0900
+++ b/mercurial/configitems.py	Fri Oct 13 00:14:28 2017 +0900
@@ -761,10 +761,10 @@
     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 @@
     default=list,
 )
 coreconfigitem('web', 'allowzip',
-    default=None,
+    default=False,
 )
 coreconfigitem('web', 'cache',
     default=True,
@@ -788,7 +788,7 @@
     default=False,
 )
 coreconfigitem('web', 'hidden',
-    default=None,
+    default=False,
 )
 coreconfigitem('web', 'labels',
     default=list,