If I try to update my subversion repo, it says I must run cleanup. If I run cleanup, it says a file is missing. (I deleted a MASSIVE directory of files that failed to commit
I had an error such as "Can't change perms of file '/Users/Code/UnitTest.cpp': No such file or directory". The subversion is confused about a file that is no longer there. I simply did something like "echo ABCD >> /Users/Code/UnitTest.cpp" to create a copy of the file, then cleanup. It worked.
In Eclipse;
follow below steps.
1) Go to the directory where you are not able to successfully clean up via svn
.(Root folder or child folder).
2) Select .svn
folder in the directory, cut that folder and paste it in the separate drive or separate location (out of svn directory)
3) Now, go back to the directory - right click and select TortoiseSVN -->Repo-browser
4) Checkout
the folder(it will not perform fresh checkout).
5) All your items will be versioned again, and it will repair the internal issue of svn, and problem should be solved.
I've been in similar situations. Have you tried running cleanup from the root of your workspace? I know sometimes a cleanup from a child directory (where the problem lies) doesn't work, and cleanup from the root of the workspace does.
If that still fails, since you had deleted a child dir somewhere. Try deleting 1 level higher from the child dir as well (assuming that is not the root), and re-trying update and cleanup.
If cleanup attempts aren't succeeding at any level then the answer is unfortunately checkout a new working copy.
I had tried the most voted answers here and a few others to no avail. My WORK_QUEUE
table was empty and I wasn't able to try a clean up at a higher folder. What did work was the following (this is via Tortoise SVN);
Break Locks
is ticked and click OKThe Clean Up operation now completes successfully and I can continue. No downloading of sqlite3 or other convoluted solutions required.
Trying to run cleanup while your files are open gave me problems. as soon as I closed my application (Visual studio) I ran clean up and it was successful