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

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

From: frame <xsli2_at_yahoo.com>
Date: Fri, 4 May 2012 12:36:25 -0700 (PDT)

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.
Received on 2012-05-04 21:37:00 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.