[PATCH 05 of 11] configitems: register the 'defaults' section

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


# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1507487991 -7200
#      Sun Oct 08 20:39:51 2017 +0200
# Node ID a9c5344860a24f38007c9f25cb91a5304747391b
# Parent  863c2407bfabe9b23b28d01582f53d318b6ae9fc
# EXP-Topic config.register.ready
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r a9c5344860a2
configitems: register the 'defaults' section

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -189,6 +189,10 @@
 coreconfigitem('debug', 'dirstate.delaywrite',
     default=0,
 )
+coreconfigitem('defaults', '.*',
+    default=None,
+    generic=True,
+)
 coreconfigitem('devel', 'all-warnings',
     default=False,
 )


More information about the Mercurial-devel mailing list