Mercurial > hgrepos > Python > libs > ConfigMix
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 275:e2fd8fea1a4c | 276:af371f9c016d |
|---|---|
| 98 - 1 | 98 - 1 |
| 99 - 2 | 99 - 2 |
| 100 - 3 | 100 - 3 |
| 101 | 101 |
| 102 Str: a string | 102 Str: a string |
| 103 | |
| 104 | |
| 105 to-be-deleted: 'a value' | |
| 106 to-be-deleted-but-reassigned: 'another value' | |
| 107 # not touched in later config: should be cleaned up | |
| 108 not-deleted: '{{::DEL::}}' |
