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

Re: How to ignore an entire directory tree

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Thu, 22 Jan 2009 17:33:12 -0600

On Jan 22, 2009, at 16:25, Andy Levy wrote:

> On Thu, Jan 22, 2009 at 13:51, wrote:
>> (sorry, I know this has been asked in the past, but I've not seen
>> a definitive answer)
>>
>> I have a project structure that includes a '/build' directory.
>> That directory contains files and sub-directories which have names
>> that change over time. I do not want any of the /build
>> directory's contents in the repository.
>>
>> Is there any form of the svn:ignore property that could be set on
>> either the directory containing /build or on the /build directory
>> itself so that, once and for all, the entire contents of /build
>> are ignored?
>
> On /build's parent directory
>
> svn propset svn:ignore build .
>
> Be sure to svn rm build at some point as well - otherwise it will not
> be ignored.

Or, if you would like the empty build directory in the repository,
but not its contents, set "svn:ignore" of the build directory to "*".

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1043800

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-23 00:48:17 CET

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.