[PATCH 03 of 11] configitems: register the 'color' section

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


# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1507625368 -7200
#      Tue Oct 10 10:49:28 2017 +0200
# Node ID 78e6b5c73ed70bd98a0aff7a4f1757a99ea11982
# Parent  19afa27ae88e1d42aa285d808a736d0c623bdf86
# EXP-Topic config.register.ready
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 78e6b5c73ed7
configitems: register the 'color' section

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -160,6 +160,10 @@
 coreconfigitem('cmdserver', 'log',
     default=None,
 )
+coreconfigitem('color', '.*',
+    default=None,
+    generic=True,
+)
 coreconfigitem('color', 'mode',
     default='auto',
 )


More information about the Mercurial-devel mailing list