Mercurial > hg
comparison tests/test-revset2.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 | 52f19a840543 |
children | 5abc47d4ca6b |
comparison
equal
deleted
inserted
replaced
38809:57af5ee15b35 | 38810:4fe8d1f077b8 |
---|---|
344 -1 | 344 -1 |
345 | 345 |
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 |
353 (symbol '0') | 353 (symbol '0') |
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 |
361 | 361 |
362 $ try '0:1|1:2|2:3|3:4|4:5' | 362 $ try '0:1|1:2|2:3|3:4|4:5' |