Problem with .hgignore

Matt Mackall mpm at selenic.com
Fri Apr 9 03:05:34 CDT 2010


On Fri, 2010-04-09 at 01:41 -0400, Ken Egervari wrote:
> Hi everyone,
> 
> I'm having a problem with .hgignore. I think I'm doing it correctly -
> I've read the docs and many examples just by googling them. For some
> reason, mercurial isn't removing my *.iws files from IntelliJ IDEA.
> I've tried it using both glob and regexp :/ I have tried
> myproject.iws, *.iws, etc. etc.
> 
> Here's my .hgignore:
> 
> syntax: glob
> 
> myproject_lf5.log
> *.iws
> 
> syntax: regexp
> 
> ^target/*$

It might help to know that no amount of ignore file hacking will affect
files that are already tracked. To untrack files, you need "forget".


-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list