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

Re: when would you use "--depth infinity"

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Tue, 16 Sep 2008 13:30:04 -0400

"Robert P. J. Day" <rpjday_at_crashcourse.ca> writes:
> perusing the section on "sparse directories," and i can immediately
> see the value of depths empty, files and immediates, but when would i
> use "--depth infinity"? as i read it, that's the default depth for a
> checkout anyway, right?
> i *can* see where a depth of "infinity" would be useful, if you
> were resetting the current sticky depth, as in:
> $ svn update --set-depth infinity
> but that's using "--set-depth", not "--depth". is there an example
> command where you would actually use an option of "--depth infinity"?
> thanks.

In the future, there may be client-side configurations that pre-set
checkout depths; passing --depth=infinity would be a way to override
those pre-set configurations.

Off the top of my head, I can't think of any other reason why you'd say
--depth=infinity right now, though, no :-).

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-16 20:08:48 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.