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

Re: During sparse checkout, what's the difference between "svn update --depth" and "svn update --set-depth"?

From: madhusudhanan Elangovan <madhusudhanane_at_gmail.com>
Date: Sun, 6 May 2012 21:38:32 +0530

Hi,

    This is because the existing depth setting is stored in the working
copy 'svn info' should reveal this information and doing subsequent update
is based on this setting, to modify this --set-depth is required.

Best Regards,
Madhu

On Sat, May 5, 2012 at 1:06 AM, frame <xsli2_at_yahoo.com> wrote:

> I am playing sparse checkout feature of subversion. It is working great.
> It let me completely ignore the portion of the tree that unrelates to me.
>
> I just have one thing unclear:
> 1)svn checkout https://xxxx/proj --depth empty
> In my local area, I will have a directory created with name "proj", since
> I didn't specify the destination name. The directory is completely empty.
>
> 2)cd into the proj directory, now is my confusion. I want the whole tree
> of proj in my local area. I tried this:
>
> svn update --depth infinity
> //it does not bring anything into my local area
>
> svn update --set-depth infinity
> //yes, it worked
>
> Reading "svn help update", I cannot figure out the difference.
>
> Thank you very much.
>

-- 
*Thanks,
Madhusudhanan*
Received on 2012-05-06 18:09:28 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.