.hgignore regexp oddity
Will Maier
willmaier at ml1.net
Thu Jan 28 14:34:01 CST 2010
Hi John-
On Thu, Jan 28, 2010 at 12:15:37PM -0800, John W wrote:
> I've been banging my head trying to get syntax:regexp working in .hgignore.
> I have a pattern that works if run directly in python, but is not
> working when in .hgignore, so I'm not sure what transformations go on
> inside mercurial on those regexps before they get compiled...
[...]
> $ cat .hgignore_try
> ^[^.]*$
You need to escape the dot. Try '^[^\.]*$'.
--
[Will Maier]-----------------[willmaier at ml1.net|http://www.lfod.us/]
More information about the Mercurial
mailing list