Excerpt from svn help:
$ svn --help co
-N [--non-recursive] : obsolete; try --depth=files or
--depth=immediates
--depth ARG : limit operation by depth ARG ('empty', 'files',
'immediates', or 'infinity')
In standard usage I believe you should be getting all the recursion based on
your first checkout command. If you are not, which evidently spawned this
email, I would check your [$HOME/.subversion/config] and look for a depth
argument set to files. Files should take you only one level and if that is
setup in your config somewhere it would have the nasty consequence you're
describing.
I'm not aware of any way to produce this limitation at the server level,
which would mean the host [http://mysvn] would have a setting preventing
your recursion, but I guess it could be possible with some hooks. If it is
at the server level then you'd have to modify the server to allow the
recursion.
Hope this helps!
On Sat, Sep 4, 2010 at 1:07 PM, Mark _ <mark_aok_at_hotmail.com> wrote:
> Hi all,
>
> When I want to check out something like
> http://mysvn/trunk/firstDir/secondDir/thirdDir/FourthDir/FifthDir I do the
> following:
> svn co http://mysvn/trunk
> cd trunk
> svn up firstDir --depth files
> cd firstDir
> svn up secondDir --depth files
> cd secondDir
> svn up thirdDir --depth files
>
> etc. etc.
>
> Is there a way to simply check out the FifthDir directory and have all of
> the intermediate directories (firstDir, secondDir, thirdDir, fourthDir)
> automatically checked out?
>
> Maybe I'm just being lazy :) But I think this would be a useful feature,
> especially for big svn databases...
>
> Thanks,
> Mark
>
--
Eric M. Hudish
Cell: +1.724.977.3314
Goog: +1.814.689.9148
174 Faith Circle
Boalsburg, PA 16827
<http://www.google.com/profiles/eric.hudish>
PGP Security Available
Search <http://keyserver.pgp.com>
Received on 2010-09-05 06:15:38 CEST