[PATCH] Allowing multiple project-specific .hgignore files

Ali Saidi saidi at umich.edu
Mon Apr 30 10:04:54 CDT 2007

How about letting the .hgignore file include a directory, rather than  
just a file. I think the idea of having a directory that can be  
automatically searched for ignore rules, mainly for the reasons  
stated previously.

I can certainly see myself adding a .hg/localignore file with some  
type of include ~/.hginores where I have all the ignore files based  
on my environment that multiple projects share.


On Apr 30, 2007, at 10:30 AM, Brendan Cully wrote:

> On Monday, 30 April 2007 at 09:21, Matt Mackall wrote:
>> On Sun, Apr 29, 2007 at 11:39:40PM -0700, Brendan Cully wrote:
>>> On Sunday, 29 April 2007 at 23:00, Matt Mackall wrote:
>>>> Good points.
>>>> Let's explore some other possibilities.
>>>> We could have an .hgignore.d/ (no need to move a current .hgignore)
>>>> We could have a .hg/localignore (unmanaged)
>>> I'd like to vote that this be .hg/ignore for symmetry with .hg/tags.
>> Argh, you made me look. According to tests/test-tag, they're still
>> called localtags.
> /wipes egg off face.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

More information about the Mercurial mailing list