Mercurial > hg
diff tests/test-extdata.t @ 37931:faa41fd282d1
templatefuncs: show hint if extdata source is evaluated to empty (issue5843)
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 19 Apr 2018 21:00:12 +0900 |
parents | b1959391a088 |
children | eec65b706caf |
line wrap: on
line diff
--- a/tests/test-extdata.t Fri May 04 21:31:34 2018 -0700 +++ b/tests/test-extdata.t Thu Apr 19 21:00:12 2018 +0900 @@ -82,6 +82,13 @@ $ hg log -T "{extdata('unknown')}\n" abort: unknown extdata source 'unknown' [255] + $ hg log -T "{extdata(unknown)}\n" + hg: parse error: empty data source specified + (did you mean extdata('unknown')?) + [255] + $ hg log -T "{extdata('{unknown}')}\n" + hg: parse error: empty data source specified + [255] we don't fix up relative file URLs, but we do run shell commands in repo root