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

RE: SVN checkout of all dir under a root dir

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 29 Sep 2010 13:51:10 -0400

> i have structure like this in SVN repo
>
> root-dir
>   |
>    -- child-proj-1
>   |
>    -- child-proj-2
>
> i want to give path to root dir and checkout all the child projects
> directly.
>
> i.e. i want to give a command something like
> svn checkout https://svn.repo/root-dir
> in a local dir named C:\workspace (say) and i should get result
> like
>
> C:\workspace
>   |
>    -- child-proj-1
>   |
>    -- child-proj-2
>
> Is this possible? The SVN checkout command above will copy root-dir
> too but i don't want.

cd \
svn co https://svn.repo/root-dir workspace --force

Of course, that will make workspace into a working copy. This may or not be what you want.

> I know that i can give individual path URLs and issue multiple
> commands
> https://svn.repo/root-dir/child-proj-1 etc to get desired behavior
> but the prob is when i add a new project under root-dir i have to
> update the URLs list, which i dont want
>
> Thanks

BOb
Received on 2010-09-29 19:51:52 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.