comparison tests/test-fileset.t @ 38810: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 d82c4d42b615
children 6371ab78c3b3
comparison
equal deleted inserted replaced
38809:57af5ee15b35 38810:4fe8d1f077b8
116 (list 116 (list
117 (symbol 'a') 117 (symbol 'a')
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":.'
125 hg: parse error: not a symbol 125 hg: parse error: not a symbol
126 [255] 126 [255]
296 $ fileset 'size("bar")' 296 $ fileset 'size("bar")'
297 hg: parse error: couldn't parse size: bar 297 hg: parse error: couldn't parse size: bar
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
305 $ fileset '(1k or 2k) and size("< 2k")' 305 $ fileset '(1k or 2k) and size("< 2k")'
306 1k 306 1k