You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bernhard Merkle <be...@gmx.de> on 2007/11/27 13:56:51 UTC

svn switch problem - cannot switch from ''clean'' checkout with svn:externals

Hi,

i think there is a bug/feature in svn when switching wc that contains svn:externals. The switch even fails, when the checkout is clean. !

This is a problem related to the URLs [1-4] below but it a new variation, because the switch fails, even if there is a _clean checkout_. 
So maybe open this as a separate issue i would suggest :-).

Steps to reproduce:
1. have a repository without externals and create tag1 from your wc trunk
2. add a svn:externals in your trunk , commit 
3. clear your wc and do a fresh checkout of tag1
4. now try to switch in your wc back to the trunk (contains svn:externals) 
5. svn fails with the following error msg:

Deleted: C:\Temp\svncmd\svnExternal  
Error: Won't delete locally modified directory 'C:\Temp\svncmd'  
Error: Left locally modified or unversioned files  

I think this is a bug/feature which happens both with svn cmd line and tortoise svn, so it is in snv_wc_lib ?

kind regards,
Bernhard Merkle.

[1] http://subversion.tigris.org/faq.html#switch-problems

[2] http://svn.haxx.se/users/archive-2007-07/0352.shtml

[3] http://subversion.tigris.org/issues/show_bug.cgi?id=2466
[4] http://subversion.tigris.org/issues/show_bug.cgi?id=2505


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: svn switch problem - cannot switch from ''clean'' checkout with svn:externals

Posted by "Bicking, David (HHoldings, IT)" <Da...@thehartford.com>.
> -----Original Message-----
> From: Bernhard Merkle [mailto:bernhard_merkle@gmx.de] 
> 
> Hi,
> 
> i think there is a bug/feature in svn when switching wc that 
> contains svn:externals. The switch even fails, when the 
> checkout is clean. !

I concur.  I discovered this a couple months ago when I was
experimenting.  In my experience when switching away from an external,
it works, but leaves the files and folders in the workspace.  The
problem occurs when switching back and SVN finds there are already
files/folders in the spot it expects to put the external data -
ka-blooie!

--
David


*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org