Subversion "switch" is mistakenly deleting directories

Hello,

I'm having a major problem with using IntelliJ to switch my working copy to a different branch. My project has 2 modules. I bring up the Update Project dialog, and then check "Update/switch to a specific URL" for each module, and then select the branch:

http://subversion-vm/svn/repos/projects/myProj/branches/branch1

After clicking OK, the update starts, but IntelliJ tries to delete 2 directories that it should NOT be deleting, one in each module! I happen to have non-versioned files in each directory, so I see the error that IntelliJ could not delete the directory.

Luckily, I have a local backup of the project, so I restore it and then try the same thing, but from the command line:

svn switch http://subversion-vm/svn/repos/projects/myProj/branches/branch1

This works perfectly.

1. Why is IntelliJ trying to delete directories it shouldn't?
2. Is there any way to update the entire project in one shot like I can from the command line?

IntelliJ 6.0.5
OS X 10.4.10
Subversion command line client 1.3.2
Subversion server: 1.2 (! - could this be it?)
Java version 1.5.0_07

0
2 comments

Hello Paul,

Could you please check if the problem still happens with IntelliJ IDEA 7.0M2?
It contains a newer version of the Subversion support library which includes
many bugfixes.

I'm having a major problem with using IntelliJ to switch my working
copy to a different branch. My project has 2 modules. I bring up the
Update Project dialog, and then check "Update/switch to a specific
URL" for each module, and then select the branch:

http://subversion-vm/svn/repos/projects/myProj/branches/branch1

After clicking OK, the update starts, but IntelliJ tries to delete 2
directories that it should NOT be deleting, one in each module! I
happen to have non-versioned files in each directory, so I see the
error that IntelliJ could not delete the directory.

Luckily, I have a local backup of the project, so I restore it and
then try the same thing, but from the command line:

svn switch
http://subversion-vm/svn/repos/projects/myProj/branches/branch1

This works perfectly.

1. Why is IntelliJ trying to delete directories it shouldn't? 2. Is
there any way to update the entire project in one shot like I can from
the command line?

IntelliJ 6.0.5
OS X 10.4.10
Subversion command line client 1.3.2
Subversion server: 1.2 (! - could this be it?)
Java version 1.5.0_07

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Good news - this appears to have been fixed in 7.0. I think I may live on the edge for a while and stick with 7.0. Nice job in the Subversion UI in this version - much improved.

0

Please sign in to leave a comment.