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

RE: Permanent tags / Virtual subprojects

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-05-11 16:22:27 CEST

> From: John Doisneau [mailto:jdoisneau@gmail.com]
>
> For example, product1 needs sub1, sub3 and sub6 and product2 needs
> sub1, sub2, sub3 and sub4: sub1 and sub3 are shared directories. So in
> this particular example, how could I do a "checkout -rHEAD product1"
> or a "checkout -r23 product2"?

To flesh out Ben's remarks, the standard way to do it would be to create a
directory product1, and give its svn:externals property the value:

    sub1 http://.../sub1
    sub3 http://.../sub3
    sub6 http://.../sub6

Then the checkout you give will produce a WC like you expect, but ./sub1
will actually be a checkout of http://.../sub1, etc. (The Subversion client
processes svn:externals properties and assembles a tree of directories that
looks like what is specifed; in the repository, product1 contains no files
or directories.)

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 11 17:39:56 2005

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.