changeset 34773:607085aa4d67

configitems: register the 'hostsecurity.*:minimumprotocol' config
author Boris Feld <boris.feld@octobus.net>
date Sat, 14 Oct 2017 00:28:13 +0200
parents 7be2f229285b
children fd4caf1b23f6
files mercurial/configitems.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.py	Sat Oct 14 00:16:12 2017 +0200
+++ b/mercurial/configitems.py	Sat Oct 14 00:28:13 2017 +0200
@@ -475,6 +475,10 @@
 coreconfigitem('hostsecurity', 'minimumprotocol',
     default=dynamicdefault,
 )
+coreconfigitem('hostsecurity', '.*:minimumprotocol$',
+    default=dynamicdefault,
+    generic=True,
+)
 coreconfigitem('http_proxy', 'always',
     default=False,
 )