configitems: register the 'hostsecurity.*:minimumprotocol' config
authorBoris Feld <boris.feld@octobus.net>
Sat, 14 Oct 2017 00:28:13 +0200
changeset 34773 607085aa4d67
parent 34772 7be2f229285b
child 34774 fd4caf1b23f6
configitems: register the 'hostsecurity.*:minimumprotocol' config
mercurial/configitems.py
--- 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,
 )