This morning i was committing several items to a svn repository. During the commit operation my operating system crashed and now all svn commands (Including clean up) ends up wi
I am able to solve it in the following way.
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 separte drive or separate location (out of svn directory)
3) Now, go to the directory - right click and select TortoiseSVN->Repository-browser.
4) And,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.
Open Totroise SVN Settings. Clear all data on Saved Data tab
This happened to me - I didn't want to do anything as drastic as deleting my .svn file. However, svn cleanup in my IDE was not resolving the problem.
What worked for me:
Close all files or programs using anything from your repository (this will unlock the svn to cleanup)
Run 'svn cleanup' against your working copy (show us the result if it errors our)
I tried all the solutions listed in this page, but my problem still didn't work out.
I solved it by another way. Just in case some still didn't get a solution, try this (I'm using TortoiseSVN 1.9.5):
Click "Clean up..." as usual and open cleanup popup
check "Break locks"
click "OK" button to execute
Actually just found the answer to my question by looking here
It seems that svn was stuck in the old operation. All of these operations are stored in the database wc.db in the .svn folder.
By downloading SQLite to my checkout directory and running
sqlite3.exe .svn/wc.db "select * from work_queue"
from cmd
i got a list of all pending operations. These operations are the ones "not finished" then by running
sqlite3.exe .svn/wc.db "delete from work_queue"
all of these pending operations are deleted and i can commit again. No need for a re checkout or anything