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

login
register
mail settings
Submitter Boris Feld
Date Oct. 13, 2017, 5:55 p.m.
Message ID <863c2407bfabe9b23b28.1507917310@FB>
Download mbox | patch
Permalink /patch/24844/
State Accepted
Headers show

Comments

Boris Feld - Oct. 13, 2017, 5:55 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@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

Patch

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,
 )