configitems: register the 'templates' section
authorBoris Feld <boris.feld@octobus.net>
Sun, 08 Oct 2017 21:29:24 +0200
changeset 34671 16d73491416b
parent 34670 ec45d7a6d799
child 34672 e159f217230e
configitems: register the 'templates' section
mercurial/configitems.py
--- 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,
 )