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

RE: Partial update possible?

From: Geir Engebakken <geir.engebakken_at_edb.com>
Date: Thu, 5 Feb 2009 11:05:34 +0100

The problem with this solution is that this is a open souurce repository that i dont have commit access to. The source is a conversion program that converts from several SCM systems and some of them are irrelevant to us, and generates compile errors because we dont have the libs nescessary to compile. Removing these directories makes it all work, but we need to do that after everey update of the source.

Geir

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009a_at_ryandesign.com]
Sent: 5. februar 2009 04:19
To: Engebakken Geir
Cc: users_at_subversion.tigris.org
Subject: Re: Partial update possible?

On Feb 4, 2009, at 08:25, Geir Engebakken wrote:

> I have a situation where I regularly want to update my WC of a
> project, but there are some Java packages that I dont want to have in
> my WC, so after I run svn update I need to physically remove the
> directories to get the product to compile. Is there any possibility in
> Svn to configure that some of the directories should be ignored when
> updating?

If you want those directories to be empty, then you can "svn switch"
those directories to an empty directory you create in your repository for just this purpose.

svn mkdir $REPO/empty -m "making empty directory"
cd your-working-copy
svn switch some-dir $REPO/empty

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-05 13:32:45 CET

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