[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 15:17:07 +0100

This one worked, although i dont really understand the mechanism behind it! Thanks to all!

     svn update -r0 <directory name>
     rm -rf <directory name>
     svn update --set-depth empty <directory name>

Geir

-----Original Message-----
From: Mark Phippard [mailto:markphip_at_gmail.com]
Sent: 5. februar 2009 15:15
To: Engebakken Geir
Cc: Ryan Schmidt; users_at_subversion.tigris.org
Subject: Re: Partial update possible?

On Thu, Feb 5, 2009 at 9:10 AM, Geir Engebakken <geir.engebakken_at_edb.com> wrote:
> 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

The feature does not support removing stuff from a working copy. You have to take the opposite approach. Do an initial checkout with --depth=immediates and then selectively expand the folders you want.

--
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1107603
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-05 15:47: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.