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

Re: svn:externals in svn 1.5

From: Blair Zajac <blair_at_orcaware.com>
Date: Wed, 27 Feb 2008 09:10:38 -0800

Fraser Kirkpatrick wrote:
> Hi,
>
> We are looking at the new relative path svn:externals functionality in
> Subversion 1.5 as it may enable us to redesign our repository and checkout
> much smaller working copies, while still being able to branch/tag etc
> without breaking the externals.
>
> However one thing which would be nice from our point of view, is to be able
> to commit from the top level working copy, and include modifications to
> externals within this commit. At the moment this doesn't seem to be
> supported as the externals area is treated as a separate working copy. Does
> anyone know whether this will be possible with Subversion 1.5?

No, it won't be. Having separate commits for externals was a deliberate design
decision.

> Curiously, we seem to have observed that an externals section of a working
> copy where that externals section includes externals of its own will
> actually manage this!
>
> Ie something like this:
>
> mydir1
> |
> - myfile1 (modified)
> - myexternaltargetdir1
> |
> - myfile2 (modified)
> - myexternaltargetdir2
> |
> - myfile3 (modified)
>
> If I try to commit from "mydir1" the commit will fail as the modified files
> myfile1, myfile2 & myfile3 are all in different working copies.
>
> However if I try to commit from "myexternaltargetdir1", subversion will
> happily commit changes to myfile2 and myfile3. Is this a bug?

It sounds like it.

Can you make a shell script that reproduces this behavior?

Thanks,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair_at_orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-27 18:31:52 CET

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.