[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: What am I doing wrong?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-02-13 17:57:35 CET

On 2/13/06, Yaakov Chaikin <yaakov.chaikin@gmail.com> wrote:
> Thanks... That worked...
>
> Is it possible to set an svn:ignore property on a directory and have
> it propogate to subdirectories?
>
> I keep trying to tell it to ignore *.class files, but it still adds
> them when I do an "add". I am doing all this on Windows (with cygwin)
> if that matters... I just want to do this once in the most top-level
> directory (of this particular working directory) and have it ignore
> ".metadata folder" and all ".class" files no matter where they are in
> the folder tree. Is this possible? I was under the impression that
> svn:ignore let you specify patterns...

IIRC, svn:ignore is ignored if you explicitly tell svn to add ignored
files. So, if a directory has svn:ignore set on *.class, and you use
svn add *, if your shell expands the * before calling svn, then it's
equivalent to svn add whatever.class and svn will obey, regardless of
svn:ignore.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 13 18:01:35 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.