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

Re: Multiple Directory Checkout

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 10 Jul 2009 20:54:13 +0100

2009/7/10 Mr. Smith <abbasmith70_at_gmail.com>:
> In previous versions of tortoise (1.3) I was able to checkout muiltple
> directories by doing the following:
>
> In the repo browser, select all the folders you want (hold down Ctrl key
> while clicking on the items). Then right-click, choose "checkout".
>
> I am not able to do this anymore in the new version (1.6).
>
> I know this has been brought up before, but can't I have a folder with
> multiple checkouts at different directories of the same repo?  I don't
> want to have to checkout each one separately.  It would be really
> helpful if i didn't have to update each separately and could just svn
> update on the top folder that contains all the separate checkouts.
>
> So basically what I am looking to do is have a folder on a
> production/test computer with one folder (for the brand) that has
> checkouts for the various programs (obviously in different folders in
> the repo).  Then when it is time to test or deploy, all that is needed
> in one update.
> Here is repo:
>
> /company
> /company/product
> /company/product/program1/release
> /company/product/program2/release
>
> and I want a checkout with:
>
> /company/program1 (which points to /company/product/program1/release)
> /company/program2 (which points to /company/product/program2/release)
>
> Is there another way to achieve this without manual checkouts?  Is
> there a way to update all checkouts (program1, program2) just from the
> company folder?

The easiest way to do that would be with svn:externals. Create a local
repo with a folder called Company and checkout Company (empty folder).
Now set svn:externals properties on that folder:
http://domain.com/svn/company/product/program1/release program1
http://domain.com/svn/company/product/program2/release program2

That should do exactly what you want. Updating the local repo's
Company folder will pull in the release directory from the live repo
to a folder name of your choosing.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2370118
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-10 21:54:27 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.