[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: Robert P. J. Day <rpjday_at_crashcourse.ca>
Date: Tue, 16 Sep 2008 13:37:01 -0400

Quoting Karl Fogel <kfogel_at_red-bean.com>:

> "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 :-).

   ah, good, it wasn't just me being clueless. :-) strangely enough,
what you describe above is *exactly* what i was imagining that option
would be useful for, but i couldn't see a way to set a client-side
default depth. all right, then ... onward. thanks.

rday

---------------------------------------------------------------------
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 19:37:30 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.