Config value now remember the "level" of the config that loaded it. This will be
used to ensure good priority management for alias.
Details
Details
- Reviewers
Alphare pulkit - Group Reviewers
hg-reviewers - Commits
- rHGa3dced4b7b04: config: track the "level" of a value
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
This is a more "manual" implementation than the Rust one, but I suspect the churn would be too big and maybe the performance would be affected too much.
Comment Actions
Yeah, the goal of this series is mostly to add the new behavior with minimal internal change. That way we can introduce the new behavior (surprising) with associated test and clean up the config API to make the internal more insulated. Once this is done, it should be easier to refactor the internal if it seems useful.