[PATCH] Allowing multiple project-specific .hgignore files

Tim Post tim.post at netkinetics.net
Mon Apr 30 03:41:56 UTC 2007


On Sun, 2007-04-29 at 21:05 -0500, Matt Mackall wrote:
> [reply-to set to mercurial-devel, where such things go now]
> 
> On Mon, Apr 30, 2007 at 10:43:28AM +1000, Stuart wrote:
> > Hey,
> > 
> > I've created a patch which allows .hgignore to be either a file (in the
> > current style) or a directory containing multiple files, all of which
> > are parsed for ignore patterns.
> 
> That's kind of neat.
> 
> It could also be done by adding an include: syntax to .hgignore, which
> might be more flexible and simpler?

I'd be inclined to leave it as a directory. What .hgignore is (file or
directory) could be meaningful, too, for other scripts that run and
manage nightly builds.

Just a thought, either way is very useful :)

Best,
--Tim




More information about the Mercurial-devel mailing list