On Tue, Apr 8, 2008 at 4:02 PM, Mark E. Hamilton <mhamilt_at_sandia.gov> wrote:
> Mark Phippard wrote:
>
> > The checkout part is wrong. You want to do this:
> >
> > $ svn checkout --depth=empty svn+ssh://sierra-trac/svnroot/sierra/trunk .
> > $ svn update --set-depth=infinity framework
> > $ svn update --set-depth=immediates utility
> > $ svn update --set-depth=infinity aria
> >
> > Note that I simply mixed the usage of infinity and immediates to show
> > that you can do something like that.
> >
>
> Okay, thanks. I don't know why I assumed that 'svn checkout' could be used
> for the products; reviewing the documentation does clearly show 'svn
> update'.
>
> Is the --set-depth=infinity necessary, or is is the default? I did an
> update with and without it, and in both cases it checked out the entire
> hierarchy.
It is possible that it is a special case when the item does not
already exist in the WC. Suppose the original checkout had been
--depth=immediates instead of empty. This would have brought in each
of the sub-folders as depth=empty folders beneath the parent. In that
case, an svn update on the folder does not change the depth. So you
need to use --set-depth whenever you want to expand the depth of
something. Note that in 1.5 there is no UI to decrease the depth of
something.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-08 22:06:51 CEST