comparison mercurial/revset.py @ 38850:4fe8d1f077b8

help: add quotes to a few commands we point to I didn't know that 'hg help "revsets.x or y"' was valid syntax, so the quoting is extra useful here to make it clear that that is an actual command. Differential Revision: https://phab.mercurial-scm.org/D4059
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 02 Aug 2018 13:35:13 -0700
parents e4b270a32ba8
children 31c0ee6eb0ac
comparison
equal deleted inserted replaced
38849:57af5ee15b35 38850:4fe8d1f077b8
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):