[PATCH] ignore: add case-insensitive globs support

Roman Neuhauser neuhauser at sigpipe.cz
Wed Mar 30 20:02:21 UTC 2011


# mpm at selenic.com / 2011-03-30 12:45:56 -0500:
> Yep, setting any of the (?x) flags in any pattern will have a global
> effect across patterns. In general, doing "clever" things with ignore
> regexes probably won't do what you want.

if all the patterns are '|'.join()ed together, doesn't this have an
easy solution in

'|'.join(map(lambda p: '(?:'+p+')'))

?

-- 
roman


More information about the Mercurial-devel mailing list