##// END OF EJS Templates
help: add quotes to a few commands we point to...
Martin von Zweigbergk -
r38846:4fe8d1f0 default
parent child Browse files
Show More
@@ -67,7 +67,7 b' def negatematch(mctx, x):'
67 67
68 68 def listmatch(mctx, *xs):
69 69 raise error.ParseError(_("can't use a list in this context"),
70 hint=_('see hg help "filesets.x or y"'))
70 hint=_('see \'hg help "filesets.x or y"\''))
71 71
72 72 def func(mctx, a, b):
73 73 funcname = getsymbol(a)
@@ -71,7 +71,7 b' def _compile(tree):'
71 71 raise error.ParseError(_("can't use negate operator in this context"))
72 72 elif op == 'list':
73 73 raise error.ParseError(_("can't use a list in this context"),
74 hint=_('see hg help "filesets.x or y"'))
74 hint=_('see \'hg help "filesets.x or y"\''))
75 75 raise error.ProgrammingError('illegal tree: %r' % (tree,))
76 76
77 77 def compile(text):
@@ -242,7 +242,7 b' def subscriptset(repo, subset, x, y, ord'
242 242
243 243 def listset(repo, subset, *xs, **opts):
244 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 247 def keyvaluepair(repo, subset, k, v, order):
248 248 raise error.ParseError(_("can't use a key-value pair in this context"))
@@ -118,7 +118,7 b' Test invalid syntax'
118 118 (symbol 'b')
119 119 (symbol 'c'))
120 120 hg: parse error: can't use a list in this context
121 (see hg help "filesets.x or y")
121 (see 'hg help "filesets.x or y"')
122 122 [255]
123 123
124 124 $ fileset '"path":.'
@@ -298,7 +298,7 b' Test files properties'
298 298 [255]
299 299 $ fileset '(1k, 2k)'
300 300 hg: parse error: can't use a list in this context
301 (see hg help "filesets.x or y")
301 (see 'hg help "filesets.x or y"')
302 302 [255]
303 303 $ fileset 'size(1k)'
304 304 1k
@@ -346,7 +346,7 b" test '0000' != '0' in `_list`"
346 346 test ',' in `_list`
347 347 $ log '0,1'
348 348 hg: parse error: can't use a list in this context
349 (see hg help "revsets.x or y")
349 (see 'hg help "revsets.x or y"')
350 350 [255]
351 351 $ try '0,1,2'
352 352 (list
@@ -354,7 +354,7 b" test ',' in `_list`"
354 354 (symbol '1')
355 355 (symbol '2'))
356 356 hg: parse error: can't use a list in this context
357 (see hg help "revsets.x or y")
357 (see 'hg help "revsets.x or y"')
358 358 [255]
359 359
360 360 test that chained `or` operations make balanced addsets
General Comments 0
You need to be logged in to leave comments. Login now