Mercurial > hgrepos > Python > libs > ConfigMix
diff tests/data/conf20.yml @ 276:af371f9c016d
Allow deletion of key-value pairs when merging is done.
When encountering the "{{::DEL::}}" special value the corresponding key-value
pair is deleted.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 03 Oct 2020 17:11:41 +0200 |
| parents | 7e6ec99d5ff5 |
| children | ad1e630ba736 |
line wrap: on
line diff
--- a/tests/data/conf20.yml Sat Oct 03 15:52:30 2020 +0200 +++ b/tests/data/conf20.yml Sat Oct 03 17:11:41 2020 +0200 @@ -100,3 +100,9 @@ - 3 Str: a string + + +to-be-deleted: 'a value' +to-be-deleted-but-reassigned: 'another value' +# not touched in later config: should be cleaned up +not-deleted: '{{::DEL::}}'
