Mercurial > hgrepos > Python > libs > ConfigMix
comparison tests/data/jail-root-ref.yml @ 680:e71f8bd50342
Tests for the new feature that resolves references at jail roots
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 09 Jun 2023 22:28:18 +0200 |
| parents | |
| children | db764da37cd2 |
comparison
equal
deleted
inserted
replaced
| 679:aa39c1856de4 | 680:e71f8bd50342 |
|---|---|
| 1 # -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*- | |
| 2 | |
| 3 # Testing jail roots with references ("symlinks") | |
| 4 | |
| 5 %YAML 1.1 | |
| 6 --- | |
| 7 | |
| 8 target1: | |
| 9 tree1: | |
| 10 k1: v1 | |
| 11 k2: v2 | |
| 12 k3: v3 | |
| 13 ks: '{{target1.tree1.k3}}' | |
| 14 sub-tree1: | |
| 15 k4: v4 | |
| 16 k5: v5 | |
| 17 k6: v6 | |
| 18 ks: '{{target1.tree1.k3}}' | |
| 19 | |
| 20 target2: | |
| 21 tree2: '{{ref:#target1.tree1}}' | |
| 22 | |
| 23 the-root: | |
| 24 ref1: '{{ref:#target1.tree1}}' | |
| 25 ref2: '{{ref:#target2.tree2}}' |
