configitems: register the 'hooks' config section
authorBoris Feld <boris.feld@octobus.net>
Fri, 13 Oct 2017 16:39:06 +0200
changeset 34668 31723cff35fa
parent 34667 23f891164e59
child 34669 03f7db5f8e71
configitems: register the 'hooks' config section
mercurial/configitems.py
--- a/mercurial/configitems.py	Tue Oct 10 10:48:47 2017 +0200
+++ b/mercurial/configitems.py	Fri Oct 13 16:39:06 2017 +0200
@@ -446,6 +446,10 @@
 coreconfigitem('format', 'usestore',
     default=True,
 )
+coreconfigitem('hooks', '.*',
+    default=dynamicdefault,
+    generic=True,
+)
 coreconfigitem('hostsecurity', 'ciphers',
     default=None,
 )