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

Re: svn:externals - construction of cyclic references is not prevented by TortoiseSVN

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: Fri, 2 Oct 2009 16:45:45 +0200

Hi Bob,

2009/10/2 Meinc <meinc_at_web.de>:
> Hi,
>
> today we have edited our svn repository and accidentally added a self-reference, i.e. a reference established by means of svn:externals.
> It would be helpful, if self references would be rejected by SVNTortoise at the time of creation, since the retrieval of such cyclic repositories may cause some serious problems.
> We had some luck, the only problem was to get rid of file paths with more that 255 characters which required some extra effort.
> Although this problem principally relies on the lack of preventing this property setting in svn, maybe it would be worth to reject such mistakes with some high level description on the client side.
>

It is difficult to prevent these cycles, since they can span multiple
repositories (A defines an external to B defines an external to A).

At the working copy level, it is not always possible to 'see' all the
way up to the root of the repository and back down again. You could
have a specific branch checked out where you create an external to
some other part of the repository, only on updating the WC when that
part gets to your WC will it become apparent that that part had an
external reference to your branch...

And remember, there are a lot of use cases where externals to the same
repository are relevant, so just preventing externals to a target with
the same repository UUID is out of the question.

-- 
Regards,
Jean-Marc
--
.       ___
.  @@  // \\      "De Chelonian Mobile"
. (_,\/ \_/ \     TortoiseSVN
.   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
.   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2402954
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-02 16:45:49 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.