Show More
@@ -641,7 +641,8 b' def formatspec(expr, *args):' | |||
|
641 | 641 | d = expr[pos] |
|
642 | 642 | ret.append(listexp(list(next(argiter)), d)) |
|
643 | 643 | else: |
|
644 |
raise error. |
|
|
644 | raise error.ParseError(_('unexpected revspec format character %s') | |
|
645 | % d) | |
|
645 | 646 | pos += 1 |
|
646 | 647 | |
|
647 | 648 | return ''.join(ret) |
@@ -4080,6 +4080,12 b' default. join() should agree with the de' | |||
|
4080 | 4080 | 5:13207e5a10d9fd28ec424934298e176197f2c67f, |
|
4081 | 4081 | 4:bbe44766e73d5f11ed2177f1838de10c53ef3e74 |
|
4082 | 4082 | |
|
4083 | Invalid arguments passed to revset() | |
|
4084 | ||
|
4085 | $ hg log -T '{revset("%whatever", 0)}\n' | |
|
4086 | hg: parse error: unexpected revspec format character w | |
|
4087 | [255] | |
|
4088 | ||
|
4083 | 4089 | Test files function |
|
4084 | 4090 | |
|
4085 | 4091 | $ hg log -T "{rev}\n{join(files('*'), '\n')}\n" |
General Comments 0
You need to be logged in to leave comments.
Login now