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

RE: Re: svn:externals in svn 1.5

From: Bicking, David (HHoldings, IT) <David.Bicking_at_thehartford.com>
Date: Wed, 27 Feb 2008 15:45:24 -0500

> -----Original Message-----
> From: Blair Zajac [mailto:blair_at_orcaware.com]

> 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.

... And a good one.
>
> > 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?

Will the first one fail, or will myfile1 commit, leaving the others
uncommitted? I expect that behavior, not a full failure.

An important point to know is whether "myfile3" is in a different
repository from "myfile2". I found that when I commit a working copy
with external references that are located in the same repository that
everything will commit. Only when the target repository is external
will it demand a separate commit. The question is then "is that
behavior erroneous?"

--
David
*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
---------------------------------------------------------------------
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 21:45:57 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.