ignoring folders in mercurial

Posted by damian on Stack Overflow See other posts from Stack Overflow or by damian
Published on 2008-11-21T20:37:35Z Indexed on 2010/06/07 10:32 UTC
Read the original article Hit count: 270

Filed under:
|
|
|

Caveat: I try all the posibilities listed here: http://stackoverflow.com/questions/254002/how-can-i-ignore-everything-under-a-folder-in-mercurial.
None works as I hope.

I want to ignore every thing under the folder test. But not ignore srcProject\test\TestManager

I try

syntax: glob
test/**

And it ignores test and srcProject\test\TestManager

With:

syntax: regexp
^/test/

It's the same thing.

Also with:

syntax: regexp
test\\*

I have install TortoiseHG 0.4rc2 with Mercurial-626cb86a6523+tortoisehg, Python-2.5.1, PyGTK-2.10.6, GTK-2.10.11 in Windows

© Stack Overflow or respective owner

Related posts about regex

Related posts about mercurial