comparison tests/test-url-rev.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 6cc4b14fb76b
comparison
equal deleted inserted replaced
12375:02990e22150b 12376:97ffc68f71d3
40 date: Thu Jan 01 00:00:00 1970 +0000 40 date: Thu Jan 01 00:00:00 1970 +0000
41 summary: change a 41 summary: change a
42 42
43 $ cat clone/.hg/hgrc 43 $ cat clone/.hg/hgrc
44 [paths] 44 [paths]
45 default = .*/repo#foo (re) 45 default = */repo#foo (glob)
46 46
47 Changing original repo: 47 Changing original repo:
48 48
49 $ cd repo 49 $ cd repo
50 50