##// 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 def listmatch(mctx, *xs):
68 def listmatch(mctx, *xs):
69 raise error.ParseError(_("can't use a list in this context"),
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 def func(mctx, a, b):
72 def func(mctx, a, b):
73 funcname = getsymbol(a)
73 funcname = getsymbol(a)
@@ -71,7 +71,7 b' def _compile(tree):'
71 raise error.ParseError(_("can't use negate operator in this context"))
71 raise error.ParseError(_("can't use negate operator in this context"))
72 elif op == 'list':
72 elif op == 'list':
73 raise error.ParseError(_("can't use a list in this context"),
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 raise error.ProgrammingError('illegal tree: %r' % (tree,))
75 raise error.ProgrammingError('illegal tree: %r' % (tree,))
76
76
77 def compile(text):
77 def compile(text):
@@ -242,7 +242,7 b' def subscriptset(repo, subset, x, y, ord'
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"))
@@ -118,7 +118,7 b' Test invalid syntax'
118 (symbol 'b')
118 (symbol 'b')
119 (symbol 'c'))
119 (symbol 'c'))
120 hg: parse error: can't use a list in this context
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 [255]
122 [255]
123
123
124 $ fileset '"path":.'
124 $ fileset '"path":.'
@@ -298,7 +298,7 b' Test files properties'
298 [255]
298 [255]
299 $ fileset '(1k, 2k)'
299 $ fileset '(1k, 2k)'
300 hg: parse error: can't use a list in this context
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 [255]
302 [255]
303 $ fileset 'size(1k)'
303 $ fileset 'size(1k)'
304 1k
304 1k
@@ -346,7 +346,7 b" test '0000' != '0' in `_list`"
346 test ',' in `_list`
346 test ',' in `_list`
347 $ log '0,1'
347 $ log '0,1'
348 hg: parse error: can't use a list in this context
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 [255]
350 [255]
351 $ try '0,1,2'
351 $ try '0,1,2'
352 (list
352 (list
@@ -354,7 +354,7 b" test ',' in `_list`"
354 (symbol '1')
354 (symbol '1')
355 (symbol '2'))
355 (symbol '2'))
356 hg: parse error: can't use a list in this context
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 [255]
358 [255]
359
359
360 test that chained `or` operations make balanced addsets
360 test that chained `or` operations make balanced addsets
General Comments 0
You need to be logged in to leave comments. Login now