Mercurial > hg
diff tests/test-export.t @ 36669:80d7fb6c2dec
templater: add hint to template parse errors to help locate issues
Previously, we would print the error name and location, but this isn't as
helpful as we can be. Let's add a hint that shows the location where we
encountered the parse error.
Differential Revision: https://phab.mercurial-scm.org/D2608
author | Ryan McElroy <rmcelroy@fb.com> |
---|---|
date | Sat, 03 Mar 2018 14:23:40 -0800 |
parents | aa3294027936 |
children | 1b179d151578 |
line wrap: on
line diff
--- a/tests/test-export.t Fri Mar 02 07:17:06 2018 +0530 +++ b/tests/test-export.t Sat Mar 03 14:23:40 2018 -0800 @@ -218,6 +218,8 @@ [255] $ hg export -o '%m{' tip hg: parse error at 3: unterminated template expansion + (%m{ + ^ here) [255] $ hg export -o '%\' tip abort: invalid format spec '%\' in output filename