branch | stable |
changeset 24903 | 09124cce913f |
parent 24886 | 10a13da8840d |
child 24929 | 6fb98463643b |
child 24948 | db7463aa080f |
--- a/tests/test-command-template.t Sun May 03 12:49:15 2015 -0700 +++ b/tests/test-command-template.t Sun May 03 17:33:14 2015 +0900 @@ -2236,6 +2236,12 @@ date: 70 01 01 01 +0000 date: 70 01 01 00 +0000 +Test invalid date: + + $ hg log -R latesttag -T '{date(rev)}\n' + hg: parse error: date expects a date information + [255] + Test string escaping: $ hg log -R latesttag -r 0 --template '>\n<>\\n<{if(rev, "[>\n<>\\n<]")}>\n<>\\n<\n'