I got completely stuck and cannot commit changes into an SVN repository, problem probably caused after deleting or moving a file, when working with an IDE in an unsyned mode and doing some refactoryings.
Whenever I try to check in some file, I get the following error:
Replacing: SomeFile
: SomeFile
Error: Commit failed (details follow):
Error: File
Error: SomeFile
Error: is out of date
Error: SomePath
Error: path not found
Error: You have to update your working copy first.
Similar error persists for the latest version of TortoiseSVN, command-line client and IDE built-in client.
I’ve checked, and SomePath is indeed removed from the repository, but the SVN client insists of trying to update it whenever trying to commit SomeFile. Updating is completed OK, but this does not solve the problem.
A workaround:
Checkout the repo in a new folder, put your work there, commit them, and then delete the old folder and copy the new one there or just re-checkout the repo.
BTW: overwriting the old folder and merging .svn folder could cause unknown issue as it’s not a clean folder… (maybe clean maybe not, who knows :))