Mercurial > hgrepos > Python > libs > ConfigMix
comparison tests/data/delete-in-dict.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 | |
| children |
comparison
equal
deleted
inserted
replaced
| 275:e2fd8fea1a4c | 276:af371f9c016d |
|---|---|
| 1 # -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*- | |
| 2 # | |
| 3 # Part of deletion check | |
| 4 # | |
| 5 %YAML 1.1 | |
| 6 --- | |
| 7 | |
| 8 db: | |
| 9 user: | |
| 10 name: '{{::DEL::}}' | |
| 11 | |
| 12 test: | |
| 13 Str: '{{::DEL::}}' | |
| 14 | |
| 15 | |
| 16 to-be-deleted-but-reassigned: 'the last value' |
