config-item: declare undeclared path suboption
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 23 Feb 2023 15:27:42 +0100
changeset 50206 e69dc67f79a5
parent 50205 d23dc9509b0f
child 50207 f35cf52acabd
config-item: declare undeclared path suboption This should prevent issue like the previous commit.
mercurial/configitems.py
--- a/mercurial/configitems.py	Thu Feb 23 15:26:43 2023 +0100
+++ b/mercurial/configitems.py	Thu Feb 23 15:27:42 2023 +0100
@@ -1851,7 +1851,7 @@
 )
 coreconfigitem(
     b'paths',
-    b'.*',
+    b'[^:]*',
     default=None,
     generic=True,
 )