changeset 34668:31723cff35fa

configitems: register the 'hooks' config section
author Boris Feld <boris.feld@octobus.net>
date Fri, 13 Oct 2017 16:39:06 +0200
parents 23f891164e59
children 03f7db5f8e71
files mercurial/configitems.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,
 )