Comments
Patch
@@ -448,7 +448,8 @@
return subset - getset(repo, subset, x)
def listset(repo, subset, a, b):
- raise error.ParseError(_("can't use a list in this context"))
+ raise error.ParseError(_("can't use a list in this context"),
+ hint=_('see hg help "revsets.x or y"'))
def keyvaluepair(repo, subset, k, v):
raise error.ParseError(_("can't use a key-value pair in this context"))
@@ -1163,6 +1163,12 @@
0
-1
+test ',' in `_list`
+ $ log '0,1'
+ hg: parse error: can't use a list in this context
+ (see hg help "revsets.x or y")
+ [255]
+
test that chained `or` operations make balanced addsets
$ try '0:1|1:2|2:3|3:4|4:5'