Mercurial > public > mercurial-scm > hg
diff mercurial/configuration/command.py @ 52426:22129ce9f86d
config: include the component level when returning them
This will be useful when modifying them.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 23 Oct 2024 01:32:33 +0200 |
parents | 3e79ca017157 |
children | 8c509a70b6fa |
line wrap: on
line diff
--- a/mercurial/configuration/command.py Wed Oct 23 00:43:17 2024 +0200 +++ b/mercurial/configuration/command.py Wed Oct 23 01:32:33 2024 +0200 @@ -111,7 +111,7 @@ XXX this skip over various source and ignore the repository config, so it XXX is probably useless old code. """ - for t, f in rcutil.rccomponents(): + for _lvl, t, f in rcutil.rccomponents(): if t == b'path': ui.debug(b'read config from: %s\n' % f) elif t == b'resource':