[PATCH 07 of 11] configitems: register the 'hooks' config section

Boris Feld boris.feld at octobus.net
Fri Oct 13 13:55:13 EDT 2017


# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1507905546 -7200
#      Fri Oct 13 16:39:06 2017 +0200
# Node ID 0824a3519c14d643a81dd4f718846f15045772ec
# Parent  3885ce0a46c11f714335aafa38876b4d0c0aed9b
# EXP-Topic config.register.ready
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 0824a3519c14
configitems: register the 'hooks' config section

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -446,6 +446,10 @@
 coreconfigitem('format', 'usestore',
     default=True,
 )
+coreconfigitem('hooks', '.*',
+    default=dynamicdefault,
+    generic=True,
+)
 coreconfigitem('hostsecurity', 'ciphers',
     default=None,
 )


More information about the Mercurial-devel mailing list