Mercurial > hg
comparison mercurial/configitems.py @ 48358:c6d44457f7e3
extensions: ignore "sub-options" when looking for extensions
config suboptions are separated by ":" (see the path one for example). So we
dont want to confuse these config with actual extensions.
We don't have extensions sub option yet, but I am about to introduce one for
making sure an extensions can load. So lets level the floor first.
Differential Revision: https://phab.mercurial-scm.org/D11819
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 26 Nov 2021 16:51:58 +0100 |
parents | bf11ff22a9af |
children | 0d0ce2529540 |
comparison
equal
deleted
inserted
replaced
48357:fc1ba19ec4a0 | 48358:c6d44457f7e3 |
---|---|
1279 b'xdiff', | 1279 b'xdiff', |
1280 default=False, | 1280 default=False, |
1281 ) | 1281 ) |
1282 coreconfigitem( | 1282 coreconfigitem( |
1283 b'extensions', | 1283 b'extensions', |
1284 b'.*', | 1284 b'[^:]*', |
1285 default=None, | 1285 default=None, |
1286 generic=True, | 1286 generic=True, |
1287 ) | 1287 ) |
1288 coreconfigitem( | 1288 coreconfigitem( |
1289 b'extdata', | 1289 b'extdata', |