From patchwork Fri Oct 13 17:55:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [11,of,11] configitems: register the 'templates' section From: Boris Feld X-Patchwork-Id: 24848 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Fri, 13 Oct 2017 19:55:17 +0200 # HG changeset patch # User Boris Feld # Date 1507490964 -7200 # Sun Oct 08 21:29:24 2017 +0200 # Node ID c577c2524d863b5649d31ad84a15773deb9b2372 # Parent 8f3e9e9a61021e35a5798eef6368672506890bcf # EXP-Topic config.register.ready # Available At https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r c577c2524d86 configitems: register the 'templates' section diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -716,6 +716,10 @@ coreconfigitem('sparse', 'missingwarning', default=True, ) +coreconfigitem('templates', '.*', + default=None, + generic=True, +) coreconfigitem('trusted', 'groups', default=list, )