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

Re: Not a bug, but a subversion design issue that perhaps needs addressing......comments please

From: Daniel Widenfalk <Daniel.Widenfalk_at_iar.se>
Date: Tue, 27 Oct 2009 16:35:08 +0100

David Corley wrote:
> Hey all,
> We've just implemented Subversion at our workplace, and after getting
> everything running well together we ran into an odd problem last week.
> One of our less experience team members inadvertently created an
> svn:externals reference on a directory to a higher-level directory in
> the same repository. This had the unfortunate effect of infinite
> recursion on the directory, which in turn made updating difficult to say
> the least.
>
> My multi-part question is:
> 1. Does a subversion working copy contain the reference to the
> repository where it was checked-out from?
> 2. Assuming 1) is true, are there valid reasons why SVN would allow a
> repo to have an svn:external reference to itself?
> 3. Assuming 2) is false, is there a design case for some sort of check
> on the svn:external property to ensure it doesn't reference the current
> repository?
>
> WRT to 1), I'm guessing the alternative is that the SVN client rather
> than the working copy retains the reference to the repo.
> WRT to 3), There's only a major issue if the svn:external property
> references a directory higher in the hierarchy than that which has the
> svn:external property, which causes the infinite recursion.
>
> I'll welcome any comments on the issue.
>
> Regards,
> Dave

Hi all,

I gave this a dime of my time and figured that you'd get a
similar problem with two (or more) repositories that cross
reference each other using svn:external. The only possible
solution I can see would be for the client checkout code to
handle this (if at all possible).

Regards
/Daniel Widenfalk

P.s. Dave, I'm sorry for the double posting.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2411702

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-27 16:44:04 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.