Mercurial > hgrepos > DevTools > mercurial-extensions
diff tests/lib-test-kwarchive.sh @ 321:103df4b7a0c8
A new more flexible syntax for custom keyword expansion: with Python template format syntax now
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 20 Feb 2019 23:09:10 +0100 |
| parents | 4e86a3bce096 |
| children |
line wrap: on
line diff
--- a/tests/lib-test-kwarchive.sh Wed Feb 20 22:48:46 2019 +0100 +++ b/tests/lib-test-kwarchive.sh Wed Feb 20 23:09:10 2019 +0100 @@ -61,9 +61,9 @@ HGrevision = Author = -MyFullRevision = HGrevision +MyFullRevision = {HGrevision} -MySubstKeyword = replace:: This is a custom replacement +MySubstKeyword = This is a custom replacement EOF cat >>$LOCAL_HGRCPATH <<EOF [extensions] @@ -174,9 +174,9 @@ HGrevision = Author = -MyFullRevision = HGrevision +MyFullRevision = {HGrevision} -MySubstKeyword = replace:: This is a custom replacement +MySubstKeyword = This is a custom replacement EOF cat >f1.txt <<EOF f1.txt: Some file content
