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

Re: Ignoring tags and branches

From: Clark S. Cox III <clark.cox_at_apple.com>
Date: Fri, 26 Sep 2008 09:26:41 -0700

On Sep 26, 2008, at 8:55 AM, Trevor Harmon wrote:

> On Sep 26, 2008, at 11:46 AM, Hilco Wijbenga wrote:
>
>> So why don't you just check out trunk instead of everything?
>
> Because my repository has 50 different projects, not just two, and I
> work on any number of them from time to time. Therefore I have to
> check out everything.
>
> I guess I could do 50 separate "svn co" commands, but I was hoping
> for a better solution.

You could probably do something like:

svn co --depth immediates <url> <workingcopy>
cd <workingcopy>
for subdir in (*); do
   svn update --set-depth infinity ${subdir}/trunk
done

-- 
Clark S. Cox III
clark.cox_at_apple.com

  • application/pkcs7-signature attachment: smime.p7s
Received on 2008-09-26 18:27:10 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.