Mercurial > hg
diff tests/test-command-template.t @ 25662:ff5172c83002
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 24 Jun 2015 13:41:27 -0500 |
parents | fd5bc660c9f0 6047b60cdd09 |
children | ce3d4b858420 |
line wrap: on
line diff
--- a/tests/test-command-template.t Tue Jun 23 22:20:01 2015 -0700 +++ b/tests/test-command-template.t Wed Jun 24 13:41:27 2015 -0500 @@ -2849,6 +2849,17 @@ <>\n<]> <>\n< +Test string escaping of quotes: + + $ hg log -Ra -r0 -T '{"\""}\n' + " + $ hg log -Ra -r0 -T '{"\\\""}\n' + \" + $ hg log -Ra -r0 -T '{r"\""}\n' + \" + $ hg log -Ra -r0 -T '{r"\\\""}\n' + \\\" + Test exception in quoted template. single backslash before quotation mark is stripped before parsing: @@ -3121,6 +3132,9 @@ Rev: 0 Ancestor: 0 + $ hg log --template '{revset("TIP"|lower)}\n' -l1 + 2 + Test active bookmark templating $ hg book foo