Mercurial > public > mercurial-scm > hg-stable
diff tests/test-command-template.t @ 35593:850cd045b1df
revsetlang: check incomplete revspec format character
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 01 Apr 2017 17:28:28 +0900 |
parents | 0fd617afebc0 |
children | 468d7a1f6633 |
line wrap: on
line diff
--- a/tests/test-command-template.t Sat Apr 01 17:25:45 2017 +0900 +++ b/tests/test-command-template.t Sat Apr 01 17:28:28 2017 +0900 @@ -4097,6 +4097,12 @@ $ hg log -T '{revset("%s", 0, 1)}\n' hg: parse error: too many revspec arguments specified [255] + $ hg log -T '{revset("%", 0)}\n' + hg: parse error: incomplete revspec format character + [255] + $ hg log -T '{revset("%l", 0)}\n' + hg: parse error: incomplete revspec format character + [255] Test files function