changeset 34671:16d73491416b

configitems: register the 'templates' section
author Boris Feld <boris.feld@octobus.net>
date Sun, 08 Oct 2017 21:29:24 +0200
parents ec45d7a6d799
children e159f217230e
files mercurial/configitems.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.py	Wed Oct 11 05:01:55 2017 +0200
+++ b/mercurial/configitems.py	Sun Oct 08 21:29:24 2017 +0200
@@ -662,6 +662,10 @@
 coreconfigitem('sparse', 'missingwarning',
     default=True,
 )
+coreconfigitem('templates', '.*',
+    default=None,
+    generic=True,
+)
 coreconfigitem('trusted', 'groups',
     default=list,
 )