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

Re: Question on checking out multiple projects

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Thu, 15 Mar 2012 09:47:40 -0500

On Thu, Mar 15, 2012 at 8:05 AM, Mark-E <meramo_at_hbs.edu> wrote:
>
> The section is setup like this in SVN:
>
> Archive/project1/trunk
> Archive/project2/trunk
> Archive/project3/trunk
>
> What I would like to be able to do is use svn co to check out the trunk
> folder for each project without specifically issuing a co command for each
> project.
>
> Something like this maybe.....
>
> svn co https://repository/Archive/projects/*/trunk
>
> I have been doing a little research but I have not come across any
> documentation that helps me understand if this is possible or not.
> Does anyone know if this is possible using svn co and if so, what the proper
> syntax is?

You probably can't do that in a single command, but it shouldn't be
too hard to get the list of projects with
svn ls https://repository/Archive/projects
and iterate through it with an svn co $path/trunk

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
Received on 2012-03-15 15:48:12 CET

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.