I tried, but got an error :
svn update --set-depth empty directory
svn: Shallowing of working copy depths is not yet supported
The client is 1.5.5, but i dont know the server version
From: Ryan Schmidt [mailto:subversion-2009a_at_ryandesign.com]
Sent: 5. februar 2009 12:07
To: Engebakken Geir
Subject: Re: Partial update possible?
On Feb 5, 2009, at 04:05, Engebakken Geir wrote:
> Ryan Schmidt wrote:
>> 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
> 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
You could use sparse directories to do a partial checkout of their repository.
This requires Subversion 1.5 or greater. For earlier Subversion, there was the -N (non-recursive) checkout option which works differently and less well.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-05 15:12:55 CET