[PATCH] Allowing multiple project-specific .hgignore files

Marcin Kasperski Marcin.Kasperski at softax.com.pl
Mon Apr 30 01:22:39 CDT 2007


> I don't really see a use case for more than two .hgignore files (local
> and managed), so unless you can think of a good one, .hg/localignore seems
> the simplest. 
The idea can be to keep unrelated ignores separately. For instance 
emacs.hgignore could filter all
those *~, .#* etc files, winbuild.hgignore could filter .obj and .exe, 
etc. The same concept which one can
see (for instance) heavily used in debian /etc.

Hmm, not truly related idea, but maybe mercurial could even distribute 
some such ready to use files.
Then, instead of having everybody re-invent correct regexps, one could say
       include /etc/mercurial/emacs.hgignore
in localignore and be happy....


More information about the Mercurial mailing list