You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Robert P. J. Day" <rp...@crashcourse.ca> on 2008/09/16 13:18:13 UTC

when would you use "--depth infinity"

   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.

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by "Robert P. J. Day" <rp...@crashcourse.ca>.
Quoting Karl Fogel <kf...@red-bean.com>:

> "Robert P. J. Day" <rp...@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


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

Posted by Karl Fogel <kf...@red-bean.com>.
"Robert P. J. Day" <rp...@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org