Reputation: 99
I have just started to use SVN and have run into a bit of trouble. I dont really know what to do about the following error:
Switch operation failed. svn: Failed to add file '.classpath': an unversioned file of the same name already exists
I tried switching from my branch to my trunk and then back to my branch. Now I cant switch to either. Any help would be much appreciated as I am a complete noob when it comes to SVN. Thanks.
Upvotes: 0
Views: 1359
Reputation: 10151
In your file system there exists a file named .classpath
which is not in your SVN. But in your SVN branch there is also a .classpath
file.
I would talk to the team if you want to store the .classpath`-file in the SVN or hold an individual one for each developer outside the SVN.
What I would do:
.classpath
to e.g. .classpath_local
Upvotes: 1