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

Re: properties 'svn:ignore' : how to ignore directories ?

From: Bruno Costacurta <pubmb.bco_at_pt.lu>
Date: 2007-11-04 23:39:58 CET

On Sunday 04 November 2007 19:12, Karl Fogel wrote:
> Bruno Costacurta <brucosta@pt.lu> writes:
> > On Sunday 04 November 2007 00:42, Andy Levy wrote:
> >> On 11/2/07, Bruno Costacurta <brucosta@pt.lu> wrote:
> >> > Hello,
> >> >
> >> > I would like to ignore some subdirectories within a project root.
> >> > Which syntax should I use ?
> >> > Should the subdirectories be 'svn add' before being 'svn:ignore' ?
> >> >
> >> > Thanks for samples and syntax clarifications.
> >>
> >> Ignore directories with the same syntax as files.
> >>
> >> If you svn add a directory, it can't be ignored.
> >
> > Sorry, but I do not agree with you.
> > Indeed after reading more closely the Subversion doc it seems that only
> > elements svn imported / added into svn can be svn:ignore.
>
> Bruce, Andy is right. You should just do some experiments, now that
> you've read the docs.
>
> If you mean that only a versioned directory can have the "svn:ignore"
> property set on it, that's correct. But that property doesn't cause
> the directory on which it is set to be ignored! Rather, it causes
> objects *in* that directory to be ignored, if they are not versioned
> themselves and if they match a pattern in the ignore list (which is
> the value of the aforementioned property).
>
> -Karl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

Thanks to all.
I got it and indeed now it works fine.
Bye,
Bruno

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 4 23:40:52 2007

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.