[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: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-11-04 19:15:18 CET

On Nov 4, 2007, at 12:01, Bruno Costacurta wrote:

> On Sunday 04 November 2007 00:42, Andy Levy wrote:
>
>> On 11/2/07, Bruno Costacurta wrote:
>>
>>> 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.

Well, to be more precise, the svn:ignore property needs to be set on
a directory that has been added to the repository. However,
svn:ignore only affects items which are not added to the repository.
That is, the purpose of svn:ignore is to ignore certain items which
are not added to the repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 4 19:15:42 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.