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

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

From: Bernhard Merkle <bernhard_merkle_at_gmx.de>
Date: 2007-11-27 14:56:51 CET

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
Received on Tue Nov 27 14:57:26 2007

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.