How to get .hgignore to ignore all

Bryan O'Sullivan bos at serpentine.com
Sun Jun 25 23:09:41 CDT 2006


On Sun, 2006-06-25 at 16:38 -0700, michael.schamberger at smpsolutions.net
wrote:

> I tried *.* under glob and a few other things but nothing seemed to
> work.

You have a few options.  By default, the syntax of the .hgignore file is
Perl-compatible regexps, so this would work:

.*

You can switch to glob style:

syntax: glob
*

But ignoring all files is usually a bit of overkill.  Quite often,
you'll want something like this instead:

syntax: glob
*.obj
*.dll

HTH,

	<b




More information about the Mercurial mailing list