Patchwork [02,of,11] configitems: register the 'alias' section

login
register
mail settings
Submitter Boris Feld
Date Oct. 13, 2017, 5:55 p.m.
Message ID <19afa27ae88e1d42aa28.1507917308@FB>
Download mbox | patch
Permalink /patch/24838/
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 1507487185 -7200
#      Sun Oct 08 20:26:25 2017 +0200
# Node ID 19afa27ae88e1d42aa285d808a736d0c623bdf86
# Parent  429c6e9c7c3a4f601db17c6553a8fcdad35708a8
# EXP-Topic config.register.ready
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 19afa27ae88e
configitems: register the 'alias' section

Patch

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -99,6 +99,10 @@ 
 
 coreconfigitem = getitemregister(coreitems)
 
+coreconfigitem('alias', '.*',
+    default=None,
+    generic=True,
+)
 coreconfigitem('annotate', 'nodates',
     default=None,
 )