diff -r d23dc9509b0f -r e69dc67f79a5 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, )