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

Re: How to integrate an svn:external into the parent repository?

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Wed, 4 Mar 2009 01:50:04 -0600

On Mar 3, 2009, at 13:29, Josef Wolf wrote:

> I have a repository which integrates another repository via the
> svn:externals property. Now I would like to integrate this external
> directly into the parent repository. The actual integration seems
> to be not really hard.
>
> There's one catch, though: on working copies that were created before
> the repositories were joined, the directory with the external
> repository
> is left over. So adding the new path cannot be created and "svn up"
> bails out with
>
> svn: Failed to add directory 'ext': a versioned directory of the
> same
> name already exists

Yes, that's this bug:

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

> The problem is that I have lots of working copies which are updated
> automatically, so I need an automated way to resolve the situation.

Remove the external directory first.

rm -rf /path/to/ext

Then you can "svn up" to get the new versioned one from the repository.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-04 08:50:54 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.