[PATCH 1 of 2] configitems: correct default values of web.allow<archtype> and web.hidden
Yuya Nishihara
yuya at tcha.org
Thu Oct 12 15:37:17 UTC 2017
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1507821268 -32400
# Fri Oct 13 00:14:28 2017 +0900
# Node ID 69b2780c454aa671eab506050f0dca555f40ee62
# Parent 9b41113b9c4397dec6bb198973a8231533f56bce
configitems: correct default values of web.allow<archtype> 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,
More information about the Mercurial-devel
mailing list