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

Re: "a versioned directory of the same name already exists" error on switch - or update

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Sat, 31 Jan 2009 14:34:09 -0800

On Sat, Jan 31, 2009 at 10:26 AM, P. Michael Hutchins <pmh0232_at_draper.com>wrote:

> I'm a pretty new user of svn, but a long-time (42 years) s/w engineer.
>
> We're using a svn repos at another company, as part of a large project.
>
> Since we're behind a serious firewall, the svn server is using WebDAV +
> HTTPS.
>
> The repos is so large that it takes over an hour to check out.
>
> (I'm trying to supply anything that I can imagine that might be
> contributing to this problem.)
>
> Last week, we closed a dev ~branch~, and opened a bugfix one.
>
> When I tried to switch to the new one..
> (Tortoise, & then (Slik) svn switch <URL>)
>
> ..I got that error - for a particular folder.
>
> cleanup didn't help.
>
> I thought that the tried & true 2nd-layer technique of just deleting the
> offending folder & updating might work..
>
> ..but the update just gave me that error on another folder!
>
> (:
> > Error: Failed to add directory 'C:\[...]\bin\tools': a
> > versioned directory of the same name already exists
> )
>
>
> Why am I getting that, & what should I do?
>
> (BTW, the "solution" of doing a complete 'nother checkout gets old
> really quick.)
>

There could be several reasons for this.

- What is the difference between the dev branch and the bugfix branch,
specifically relating to the offending directories? Were they added
separately on either or both branches?
- Are there any difference in case for the directories in question? For
example if there is a directory called 'Tools' in the bugfix branch and you
have a local copy that is 'tools', then windows will treat them as the same.
- What is the ancestry of the two branches. I am not completely sure of the
way switch works, but it is similar to update. If the two branches are very
very different, you might end up taking similar amount of time as a
checkout.

thanks,
-Hari

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-31 23:34:59 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.