Mercurial > hgrepos > Python > libs > ConfigMix
comparison docs/introduction.rst @ 663:8647eb175bb9
Docs: Drop a note to quote the "~" character when it shall not be subject to interpretation as key index but key string
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 03 Jun 2022 00:28:54 +0200 |
| parents | ce2f723da730 |
| children | 7c41a52253bf |
comparison
equal
deleted
inserted
replaced
| 662:ce2f723da730 | 663:8647eb175bb9 |
|---|---|
| 309 | 309 |
| 310 - ``config.getvarl_s("mylist", 0)`` or ``config.getvar_s("mylist.~0~)"`` | 310 - ``config.getvarl_s("mylist", 0)`` or ``config.getvar_s("mylist.~0~)"`` |
| 311 - ``config.getvarl_s("mylist", -1)`` or ``config.getvar_s("mylist.~-1~")`` | 311 - ``config.getvarl_s("mylist", -1)`` or ``config.getvar_s("mylist.~-1~")`` |
| 312 | 312 |
| 313 This also works when using `Jailed Configurations`_. | 313 This also works when using `Jailed Configurations`_. |
| 314 | |
| 315 Use `Quoting`_ for the ``~`` character (``%x7e``) when the ``~INDEX~`` | |
| 316 syntax should not be interpreted as list index but as key string. | |
| 314 | 317 |
| 315 | 318 |
| 316 .. _merging-deletions: | 319 .. _merging-deletions: |
| 317 | 320 |
| 318 Deletions | 321 Deletions |
