[PATCH 5 of 5 RFC v2] tests: add glob matching for unified tests

Adrian Buehlmann adrian at cadifra.com
Wed Sep 22 16:54:20 CDT 2010


On 22.09.2010 23:11, Brodie Rao wrote:
> # HG changeset patch
> # User Brodie Rao <brodie at bitheap.org>
> # Date 1285189562 18000
> # Node ID 4cbdb2d5abc39eb266199a3d8713997b8f52b083
> # Parent  e9edab4d5810f8f3683c0f522b03d99f4e23e910
> 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.

Would be very nice to have.



More information about the Mercurial-devel mailing list