Currently the source is stored in a entirely different way than the data. This
is impractical. Especially if we are about to add more of such metadata. So lets
put them back together.
Details
Details
- Reviewers
Alphare pulkit - Group Reviewers
hg-reviewers - Commits
- rHGd3df397e7a59: config: track "source" along side value
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
This patch makes test-releasenotes-formatting.t fail for me. I noticed that it has #require fuzzywuzzy at the top. Could you install that (I don't even remember what it is) and send a fix?
Comment Actions
Here is the fix: https://phab.mercurial-scm.org/D10121
and here is the MR to install fuzzywuzzy in the CI image: https://foss.heptapod.net/octobus/ci-dockerfiles/-/merge_requests/54
Comment Actions
After discussion on IRC, the link is actually wrong, one should like at the previous function that use _source. The source information is not stored along side the value (in a (value, source, level) tuple). You can access it using `config.source(section, key).