Mercurial > hg
comparison tests/test-command-template.t @ 35592:0fd617afebc0
revsetlang: check number of arguments passed to formatspec()
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 01 Apr 2017 17:25:45 +0900 |
parents | 8f1a7adb3225 |
children | 850cd045b1df |
comparison
equal
deleted
inserted
replaced
35591:8f1a7adb3225 | 35592:0fd617afebc0 |
---|---|
4086 hg: parse error: unexpected revspec format character w | 4086 hg: parse error: unexpected revspec format character w |
4087 [255] | 4087 [255] |
4088 $ hg log -T '{revset("%lwhatever", files)}\n' | 4088 $ hg log -T '{revset("%lwhatever", files)}\n' |
4089 hg: parse error: unexpected revspec format character w | 4089 hg: parse error: unexpected revspec format character w |
4090 [255] | 4090 [255] |
4091 $ hg log -T '{revset("%s %s", 0)}\n' | |
4092 hg: parse error: missing argument for revspec | |
4093 [255] | |
4094 $ hg log -T '{revset("", 0)}\n' | |
4095 hg: parse error: too many revspec arguments specified | |
4096 [255] | |
4097 $ hg log -T '{revset("%s", 0, 1)}\n' | |
4098 hg: parse error: too many revspec arguments specified | |
4099 [255] | |
4091 | 4100 |
4092 Test files function | 4101 Test files function |
4093 | 4102 |
4094 $ hg log -T "{rev}\n{join(files('*'), '\n')}\n" | 4103 $ hg log -T "{rev}\n{join(files('*'), '\n')}\n" |
4095 2 | 4104 2 |