changeset 34653:8bea493e7297

configitems: correct default values of web.allow<archtype> and web.hidden The default of ui.configbool() is False unless explicitly specified.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 13 Oct 2017 00:14:28 +0900
parents 174d115d8104
children 4182d2065e7a
files mercurial/configitems.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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,