subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madhusudhanan Elangovan <>
Subject Re: During sparse checkout, what's the difference between "svn update --depth" and "svn update --set-depth"?
Date Sun, 06 May 2012 16:08:32 GMT

    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,

On Sat, May 5, 2012 at 1:06 AM, frame <> 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.


View raw message