1

I'm getting the error in the title of the question:

"svn: Failed to add directory 'bin/classes/com'an unversioned directory of the same name already exists"

when im trying to "switch" from my current branch to the trunk. It simply wont allow me to switch. This error occured when I updated the Android target on the branch and the Trunk without problems ( updated from 2.2 -> 3.0). But now I keep getting that error!

I'm not sure how to resolve this. Would appreciate any help

1 Answer 1

4

You can fix this problem by using the option –-force with SVN checkout/update command.

This will mark the folder in question as updated and the subfolder files as versioned but will not overwrite any changed you may have in your working copy.

Sign up to request clarification or add additional context in comments.

8 Comments

not sure how to use the '-force' option, can you give me an example please?
you can use it like this: svn update --force ./bin/classes/com
That gives me the following output: Skipped 'bin\classes\com' Summary of conflicts: Skipped paths: 1
To resolve the conflict then, use this command: svn resolved ./bin/classes/com
I tried doing that but it tells me that \bin\classes\com is not a working directory. Am I running these commands on the wrong directory? I navigated to my workspace where i checked out the project from my repository and executed the svn resolved in the folder where the bin, src, gen etc folders are.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.