Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
37930:892592475094 | 37931:faa41fd282d1 |
---|---|
80 hg: parse error: extdata expects one argument | 80 hg: parse error: extdata expects one argument |
81 [255] | 81 [255] |
82 $ hg log -T "{extdata('unknown')}\n" | 82 $ hg log -T "{extdata('unknown')}\n" |
83 abort: unknown extdata source 'unknown' | 83 abort: unknown extdata source 'unknown' |
84 [255] | 84 [255] |
85 $ hg log -T "{extdata(unknown)}\n" | |
86 hg: parse error: empty data source specified | |
87 (did you mean extdata('unknown')?) | |
88 [255] | |
89 $ hg log -T "{extdata('{unknown}')}\n" | |
90 hg: parse error: empty data source specified | |
91 [255] | |
85 | 92 |
86 we don't fix up relative file URLs, but we do run shell commands in repo root | 93 we don't fix up relative file URLs, but we do run shell commands in repo root |
87 | 94 |
88 $ mkdir sub | 95 $ mkdir sub |
89 $ cd sub | 96 $ cd sub |