comparison tests/test-clone.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 4fee1fd3de9a
comparison
equal deleted inserted replaced
12375:02990e22150b 12376:97ffc68f71d3
78 78
79 Check that path aliases are expanded: 79 Check that path aliases are expanded:
80 80
81 $ hg clone -q -U --config 'paths.foobar=a#0' foobar f 81 $ hg clone -q -U --config 'paths.foobar=a#0' foobar f
82 $ hg -R f showconfig paths.default 82 $ hg -R f showconfig paths.default
83 .*/a#0 (re) 83 */a#0 (glob)
84 84
85 Use --pull: 85 Use --pull:
86 86
87 $ hg clone --pull a g 87 $ hg clone --pull a g
88 requesting all changes 88 requesting all changes