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

svn switch problems

From: David Frank <dnfrank_at_gmail.com>
Date: 2006-04-06 22:57:42 CEST

Hello,

I am currently trying to resolve a issue related to developing work in a
branch

Here is what did

1) checkout trunk
2) create a branch of the trunk for my task
3) svn switch my checkout of the trunk to the branch
4) develop changes including adding new directories and files
5) commit all changes to my branch
6) switch back work area back to the trunk so i can merge back to trunk.

I get errors related to the newly created directories the error i get is

svn: Won't delete locally modified directory 'src'
svn: Left locally modified or unversioned files

the src directory above is where contains my new directories.

doing a svn status i get

! .
... //snipped
! src
... //snipped
! S src\SerialProtocol
? src\SerialProtocol\objects\vxworks
! src\SerialProtocol\objects

In this case SerialProtocol is my new directory.
if i delete SerialProtocol from my disk and then do a svn update I can then
do complete the switch command

The reason for the switch back to the trunk is so that i can do

svn merge -r <start>:head <branchurl>

Now another thing this only appears to happen if i have intermediate files
sitting around. ie non versioned files
How can I do the switch back without having to manually delete
files/directories???

--
Dave Frank
dnfrank@gmail.com
Received on Thu Apr 6 22:59:05 2006

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.