[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: Steven Bakke <steven.bakke_at_amd.com>
Date: Tue, 8 Apr 2008 14:08:33 -0400

On Apr 8, 2008, at 2:00 PM, Mark Phippard wrote:
> On Tue, Apr 8, 2008 at 1:26 PM, Mark E. Hamilton
> <mhamilt_at_sandia.gov> wrote:
>
>> Is this the appropriate venue for asking svn/1.5 questions? If not,
>> please
>> let me know.
>
> This is the place to ask.
>
>> IAE, I'm testing svn/1.5beta2, since we need the sparse checkouts
>> feature.
>> I do the following:
>>
>> $ svn checkout --depth=empty svn+ssh://sierra-trac/svnroot/sierra/
>> trunk .
>> $ svn checkout svn+ssh://sierra-trac/svnroot/sierra/trunk/framework
>> $ svn checkout svn+ssh://sierra-trac/svnroot/sierra/trunk/utility
>> $ svn checkout svn+ssh://sierra-trac/svnroot/sierra/trunk/aria
>> $ ...modify some files and properties...
>>
>> However, when I do a 'svn status' and 'svn commit' it acts as if my
>> working
>> copy is disjoint, and doesn't traverse into the three products I
>> checked
>> out:
>
> 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.

>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
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-08 20:09:19 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.