> 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:
> 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,
> This, I believe, is already possible with the current implementation
> of svn:externals.
Correct (although if you do a co -rNNN or an update -rNNN the externals
will still use HEAD, so not completely what you'd expect).
> (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
> 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?
(1) Partially possible using svncopy.pl from
- you can tag and it will behave as expected (svncopy.pl --tag). To
branch and get the behaviour you will need to branch the destinations of
the svn:externals at the same time (i.e. in the same command).
(2) Not possible at present. In fact, svn commit doesn't walk the
externals so you have to check them in separately.
Senior Applications Software Engineer
e: firstname.lastname@example.org / email@example.com
t: +44 131 272 7145
f: +44 131 272 7001
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Wed Sep 29 17:02:16 2004