Mercurial > hg
comparison tests/test-mq-safety.t @ 12376:97ffc68f71d3
tests: add glob matching for unified tests
This adds a " (glob)" marker that works like a simpler version of
(re): "*" is converted to ".*", and "?" is converted to ".".
Both special characters can be escaped using "\", and the backslash
itself can be escaped as well.
Other glob-style syntax, like "**", "[chars]", or "[!chars]", isn't
supported.
author | Brodie Rao <brodie@bitheap.org> |
---|---|
date | Wed, 22 Sep 2010 16:06:02 -0500 |
parents | 02990e22150b |
children | 1e2625fe371b |
comparison
equal
deleted
inserted
replaced
12375:02990e22150b | 12376:97ffc68f71d3 |
---|---|
37 | 37 |
38 $ hg qpop | 38 $ hg qpop |
39 abort: popping would remove a revision not managed by this patch queue | 39 abort: popping would remove a revision not managed by this patch queue |
40 [255] | 40 [255] |
41 $ hg qpop -n patches | 41 $ hg qpop -n patches |
42 using patch queue: .*/repo/\.hg/patches (re) | 42 using patch queue: */repo/.hg/patches (glob) |
43 abort: popping would remove a revision not managed by this patch queue | 43 abort: popping would remove a revision not managed by this patch queue |
44 [255] | 44 [255] |
45 $ hg qrefresh | 45 $ hg qrefresh |
46 abort: working directory revision is not qtip | 46 abort: working directory revision is not qtip |
47 [255] | 47 [255] |