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

svn:externals, present and future

From: Patrick Kelsey <pkelsey_at_gmail.com>
Date: 2004-09-29 06:52:14 CEST

Hi,

I'm trying to understand fully whether or not I can do the following
using svn:externals as they are today, and if not, whether there are
plans for svn:externals that will make this possible in the future.
I've looked through the svn book, the mailing list archives, and the
issue tracker, and I still don't feel I have a complete picture, so I
am turning this over to the list.

I would like to set up a repository as follows:

/components/lib1
           /lib2
           /lib3
           .
           .
           /libN
/projects/proj1
         /proj2
         /proj3
         .
         .
         /projN
/tags
/branches

The directories under /projects would have svn:externals set so that
the appropriate libs from /components get checked out underneath the
specific project you checkout. So for instance,

svn checkout http://svn.example.com/repos/projects/proj1

might create in my local directory

proj1/file1
      file2
      .
      .
      fileN
     /libs/lib3
         /lib5
         /lib8

This, I believe, is already possible with the current implementation
of svn:externals.

Additionally:
(1) I want to be able to tag/branch the working copy in one fell
swoop, so if I did (while in proj1 dir of the working copy above)

svn copy proj1 tags/proj1-first-rocked-here

then at some later date,

svn checkout http://svn.example.com/repos/tags/proj1-first-rocked-here

I would get the same contents of the working copy diagrammed above
when the tag/branch copy was made (or the last contents commited to
the branch, in the case of a branch).

(2) I want to be able to do atomic commits on the entire working copy
in one fell swoop, such as (while in proj1 dir of the working copy
above)

svn commit --message 'Proj1 now rocks the free world!'

Is (1) or (2) above currently possible? If not, is that sort of
functionality in the works?

Thanks,
Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 29 06:52:49 2004

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.