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

Re: svn switch problems

From: David Frank <dnfrank_at_gmail.com>
Date: 2006-04-07 03:07:17 CEST

Yes this does sounds like the same/similar issue.

To note however this afternoon. I had a 1.2.3 client installed and got my
work area unusable.

However I upgraded to 1.3.0 and although it still fails I was able to
recover my work area.

What i did was after the svn switch fails I run a svn status and can see the
directory that was added has the ! symbol (missing).

I can then completely remove that directory from my file system and then run
an svn update. I can restart the switch and get where I want to be. Which is
do a svn merge of the branch work back into the trunk.

What is unfortunate is the need to delete files in order for the switch to
succeed. Although the files being deleted are saved in the repository
having to delete files to switch is a little unnerving.

On 4/6/06, Matt Doran <matt.doran@papercut.biz> wrote:
>
> Hi there,
>
> Yes, I also found the same problem a few months ago. Unfortunately it
> hasn't been fixed. Here's the link to the issue:
> http://subversion.tigris.org/issues/show_bug.cgi?id=2466
>
> The working copy gets broken, and there is not an obvious way to fix it.
> I think I had to do a clean checkout.
>
> Hopefully one of the subversion devs can fix this soon.
>
> Regards,
>
> Matt Doran
> PaperCut Software Pty. Ltd.
> Phone: +61 (3) 9571 1151
> E-mail: matt.doran@papercut.biz
> Profile: http://www.papercut.biz/company.htm#matt
> Blog: http://blogs.papercutsoftware.com/matt.doran/
>
>
>
> David Frank wrote:
>
> 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
>
>

--
Dave Frank
dnfrank@gmail.com
Received on Fri Apr 7 03:08:56 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.