Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/constants.py @ 637:4499e9b4855d
The ``{{::DEL::}}`` is not subject to interpolation any more.
This fixes the handling of these deletion markers when merging
configurations: sometimes they were tried to be interpolated -- and
this failed.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Fri, 04 Mar 2022 17:35:27 +0100 |
| parents | f454889e41fa |
| children |
comparison
equal
deleted
inserted
replaced
| 636:301cf2337fde | 637:4499e9b4855d |
|---|---|
| 25 | 25 |
| 26 """ | 26 """ |
| 27 | 27 |
| 28 DEL_VALUE = _u("{{::DEL::}}") | 28 DEL_VALUE = _u("{{::DEL::}}") |
| 29 """Value for configuration items to signal that the corresponding | 29 """Value for configuration items to signal that the corresponding |
| 30 key-value is to be deleted when configurations are merged | 30 key-value is to be deleted when configurations are merged. |
| 31 | |
| 32 Despite having "interpolation" syntax this value will **never** be | |
| 33 substituted. | |
| 31 | 34 |
| 32 """ | 35 """ |
| 33 | 36 |
| 34 REF_NAMESPACE = _u("ref") | 37 REF_NAMESPACE = _u("ref") |
| 35 """Special internal namespace used for implementation of tree | 38 """Special internal namespace used for implementation of tree |
