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

Re: [BUG] no way to delete file external (Subversion 1.6.x)

From: Daniel Näslund <daniel_at_longitudo.com>
Date: Wed, 20 Jan 2010 22:26:05 +0100

On Wed, Jan 20, 2010 at 09:42:30PM +0100, Alexander Kitaev wrote:
> Hello,
>
> I found no way to delete file external once svn:externals property has
> been set (not committed) and update performed once. See attached
> reproduction script for details.
>
> I think update should remove file external when its definition is
> removed from svn:externals property. What do you think on that?

Issue 3351
http://subversion.tigris.org/issues/show_bug.cgi?id=3351

The subversion code assumes that a file has the same url as its parent
dir. File externals are implemented using switch to circumvent that.

I found a hackish way to solve it by removing the entries for the file
when its svn:external definition was removed. But I got the advice to
leave it as is until 1.7 has shipped. I found that to be a good advice.
File externals is a bit of a hack and shouldn't be solved by another
hack.

It would be nice if externals could be handled the same way as all other
files and dirs. All the code in libsvn_client/externals.c looks ugly to
me.

Disclaimer: I have a limited experience with the subversion code.

Daniel Näslund
Received on 2010-01-20 22:26:43 CET

This is an archived mail posted to the Subversion Dev mailing list.

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