[PATCH 10 of 11] configitems: register the 'paths' config section

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


# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1507690915 -7200
#      Wed Oct 11 05:01:55 2017 +0200
# Node ID 8f3e9e9a61021e35a5798eef6368672506890bcf
# Parent  9f8f4614d1366eaeea1366f9563a9db3a0811a9d
# EXP-Topic config.register.ready
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 8f3e9e9a6102
configitems: register the 'paths' config section

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -574,6 +574,10 @@
 coreconfigitem('paths', 'default-push',
     default=None,
 )
+coreconfigitem('paths', '.*',
+    default=None,
+    generic=True,
+)
 coreconfigitem('phases', 'checksubrepos',
     default='follow',
 )


More information about the Mercurial-devel mailing list