Patchwork [06,of,11] configitems: register the 'extensions' section

login
register
mail settings
Submitter Boris Feld
Date Oct. 13, 2017, 5:55 p.m.
Message ID <3885ce0a46c11f714335.1507917312@FB>
Download mbox | patch
Permalink /patch/24842/
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 1507625327 -7200
#      Tue Oct 10 10:48:47 2017 +0200
# Node ID 3885ce0a46c11f714335aafa38876b4d0c0aed9b
# Parent  a9c5344860a24f38007c9f25cb91a5304747391b
# EXP-Topic config.register.ready
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 3885ce0a46c1
configitems: register the 'extensions' section

Patch

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -412,6 +412,10 @@ 
 coreconfigitem('experimental', 'updatecheck',
     default=None,
 )
+coreconfigitem('extensions', '.*',
+    default=None,
+    generic=True,
+)
 coreconfigitem('format', 'aggressivemergedeltas',
     default=False,
 )