Mercurial > public > mercurial-scm > hg
diff tests/test-cat.t @ 38539:b1bbff1dd99a
cat: add support for log-like template keywords and functions
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 01 Jul 2018 21:47:43 +0900 |
parents | 4441705b7111 |
children | 34ba47117164 |
line wrap: on
line diff
--- a/tests/test-cat.t Sun Jul 01 22:22:07 2018 +0900 +++ b/tests/test-cat.t Sun Jul 01 21:47:43 2018 +0900 @@ -65,10 +65,10 @@ Test template output - $ hg --cwd tmp cat ../b ../c -T '== {path} ({abspath}) ==\n{data}' - == ../b (b) == + $ hg --cwd tmp cat ../b ../c -T '== {path} ({abspath}) r{rev} ==\n{data}' + == ../b (b) r2 == 1 - == ../c (c) == + == ../c (c) r2 == 3 $ hg cat b c -Tjson --output -