Show More
@@ -448,7 +448,8 b' def notset(repo, subset, x):' | |||||
448 | return subset - getset(repo, subset, x) |
|
448 | return subset - getset(repo, subset, x) | |
449 |
|
449 | |||
450 | def listset(repo, subset, a, b): |
|
450 | def listset(repo, subset, a, b): | |
451 |
raise error.ParseError(_("can't use a list in this context") |
|
451 | raise error.ParseError(_("can't use a list in this context"), | |
|
452 | hint=_('see hg help "revsets.x or y"')) | |||
452 |
|
453 | |||
453 | def keyvaluepair(repo, subset, k, v): |
|
454 | def keyvaluepair(repo, subset, k, v): | |
454 | raise error.ParseError(_("can't use a key-value pair in this context")) |
|
455 | raise error.ParseError(_("can't use a key-value pair in this context")) |
@@ -1163,6 +1163,12 b" test '0000' != '0' in `_list`" | |||||
1163 | 0 |
|
1163 | 0 | |
1164 | -1 |
|
1164 | -1 | |
1165 |
|
1165 | |||
|
1166 | test ',' in `_list` | |||
|
1167 | $ log '0,1' | |||
|
1168 | hg: parse error: can't use a list in this context | |||
|
1169 | (see hg help "revsets.x or y") | |||
|
1170 | [255] | |||
|
1171 | ||||
1166 | test that chained `or` operations make balanced addsets |
|
1172 | test that chained `or` operations make balanced addsets | |
1167 |
|
1173 | |||
1168 | $ try '0:1|1:2|2:3|3:4|4:5' |
|
1174 | $ try '0:1|1:2|2:3|3:4|4:5' |
General Comments 0
You need to be logged in to leave comments.
Login now