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

Boris Feld boris.feld at octobus.net
Fri Oct 13 13:55:08 EDT 2017


# HG changeset patch
# User Boris Feld <boris.feld at 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

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,
 )


More information about the Mercurial-devel mailing list