[PATCH 04 of 11] configitems: register the 'committemplate' section

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


# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1507489322 -7200
#      Sun Oct 08 21:02:02 2017 +0200
# Node ID 863c2407bfabe9b23b28d01582f53d318b6ae9fc
# Parent  78e6b5c73ed70bd98a0aff7a4f1757a99ea11982
# EXP-Topic config.register.ready
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 863c2407bfab
configitems: register the 'committemplate' section

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -182,6 +182,10 @@
 coreconfigitem('commands', 'update.requiredest',
     default=False,
 )
+coreconfigitem('committemplate', '.*',
+    default=None,
+    generic=True,
+)
 coreconfigitem('debug', 'dirstate.delaywrite',
     default=0,
 )


More information about the Mercurial-devel mailing list