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

login
register
mail settings
Submitter Boris Feld
Date Oct. 13, 2017, 5:55 p.m.
Message ID <8f3e9e9a61021e35a579.1507917316@FB>
Download mbox | patch
Permalink /patch/24847/
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 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

Patch

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