[Templates] How do I ignore .svn directories?
Nigel Metheringham
Nigel.Metheringham@dev.intechnology.co.uk
Mon, 14 Aug 2006 09:02:54 +0100
On Mon, 2006-08-14 at 08:30 +0100, Andy Wardley wrote:
> David Dyer-Bennet wrote:
> > I've just moved a web site built with TT over to a Subversion source
> > code repository, and I noticed that it's now looking at all the files
> > in the .svn directories.
>
> I'm guessing that you're using ttree here? In which case, this config
> option should do it:
>
> ignore = \b(CVS|RCS|svn)\b
I had real problems persuading ttree to ignore the .svn directories -
none of the basic pattern matches seemed to do it right. I ended up
with this rule (to ignore all files/directories that start with a . -
for some reason I needed to match the preceding path too)
ignore = ^(?:.*/)?\..*
Nigel.
--
[ Nigel Metheringham Nigel.Metheringham@InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]