240 def subscriptset(repo, subset, x, y, order): |
240 def subscriptset(repo, subset, x, y, order): |
241 raise error.ParseError(_("can't use a subscript in this context")) |
241 raise error.ParseError(_("can't use a subscript in this context")) |
242 |
242 |
243 def listset(repo, subset, *xs, **opts): |
243 def listset(repo, subset, *xs, **opts): |
244 raise error.ParseError(_("can't use a list in this context"), |
244 raise error.ParseError(_("can't use a list in this context"), |
245 hint=_('see hg help "revsets.x or y"')) |
245 hint=_('see \'hg help "revsets.x or y"\'')) |
246 |
246 |
247 def keyvaluepair(repo, subset, k, v, order): |
247 def keyvaluepair(repo, subset, k, v, order): |
248 raise error.ParseError(_("can't use a key-value pair in this context")) |
248 raise error.ParseError(_("can't use a key-value pair in this context")) |
249 |
249 |
250 def func(repo, subset, a, b, order): |
250 def func(repo, subset, a, b, order): |