Mercurial > hg-stable
diff tests/test-command-template.t @ 34536:4c1cfe54c08d
templater: extend dot operator as a short for get(dict, key)
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 18 Sep 2017 23:07:17 +0900 |
parents | 78590585c0db |
children | 0a0a72c043ac |
line wrap: on
line diff
--- a/tests/test-command-template.t Sat Sep 09 19:32:56 2017 +0900 +++ b/tests/test-command-template.t Mon Sep 18 23:07:17 2017 +0900 @@ -3184,6 +3184,8 @@ $ hg log -R latesttag -l1 -T '{min(revset("0:9")).node}\n' ce3cec86e6c26bd9bdfc590a6b92abc9680f1796 + $ hg log -R latesttag -r0 -T '{extras.branch}\n' + default $ hg log -R latesttag -l1 -T '{author.invalid}\n' hg: parse error: keyword 'author' has no member