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

Re: Checkouts of subsets of the tree

From: John Rousseau <JRousseau_at_novell.com>
Date: 2004-07-08 20:52:39 CEST

On Fri, 25 Jun 2004 12:28:08 -0500, Ben Collins-Sussman <sussman@collab.net> wrote:

> On Fri, 2004-06-25 at 11:42, John Rousseau wrote:
>
>> I could see this working if each user checked out the "jdk" directory
>> in the main repo and made the externals ref correcct for them, but
>> that seems a little hacky.
>
> I might lay out my repository like this:
>
> /branches
> /tags
> /trunk
> /source
> /jdks
> /win32
> /linux
> /modules
> /win32
> /linux
>
> The /modules/win32 directory is basically empty, but it has an
> svn:externals property like
>
> /source URL-to-/trunk/source
> /jdk URL-to-/jdks/win32
>
> ...and set up something analogous on the /modules/linux directory.
>
> So a windows user would do a checkout of /modules/win32, and a linux
> user would do a checkout of /modules/linux.
>
> This is just a simple example, though. It can get much more complex.

Ok. I've been working down this path, but I think it needs to get more complex.

In your example, I don't see how to allow users to branch the source if the externals ref is hard-coded to trunk.

Any thoughts of doing some sort of variable substitution on the externals target? That would be a solution to my problem and probably be flexible enough to solve many others in this space.

More hints please! :-)

Thanks
-John

>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
----------------------------------------------------------------
John Rousseau                               JRousseau@novell.com
Novell, Inc.                              Phone: +1 781 464 8377
404 Wyman Street                            Fax: +1 781 464 8100
Waltham, MA 02451                          http://www.novell.com
----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 8 20:53:13 2004

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