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

Re: svn 1.5 sparse checkout question

From: John Mylius <mylius_at_pasemi.com>
Date: Tue, 08 Apr 2008 15:11:54 -0700

>>
>> The checkout part is wrong. You want to do this:
>>
>> $ svn checkout --depth=empty svn+ssh://sierra-trac/svnroot/sierra/
>> trunk .
>> $ svn update --set-depth=infinity framework
>> $ svn update --set-depth=immediates utility
>> $ svn update --set-depth=infinity aria
>>
>> Note that I simply mixed the usage of infinity and immediates to show
>> that you can do something like that.
>
>
> I'm curious - why does checkout behave this way? I encountered this
> early on when I
> first began using subversion since I used to be a CVS user. Why
> doesn't it just behave
> like an update with depth set to infinity? I can't see a realistic
> usage model where
> somebody would want to do an unrelated checkout into a subdirectory
> of an existing
> working copy.
>
I'm curious as well. In testing 1.5 I stumbled on the same issue since
I'm used to building a cvs sparse dir using 'cvs checkout'. Now that
I've retrained my habits its not a big deal. Maybe a future rev could
address this?

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-09 00:12:12 CEST

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.