Background
There are times when subversion gets messed up bad. Last time, I had a network interruption and the local repository got locked. After trying different commands to try to free it (like svn cleanup), it just wouldn't work correctly. Even after getting the lock back, the next update would fail.I also got a friend that copied a folder from another location and, by doing so, removed som Subversion folders and corrupted the tree.
Solution
Not depending on how it got messed up, you'd want to clean it up. You may know that all informations are stored in .svn folders in every folder of your local repository already added to it. So, to remove all subversion informations, you need to delete all these folders.
Manually, it can take some times. However, there is an easy command on *NIX based systems
find ./ -name ".svn" | xargs rm -Rf
This will delete all the folders for you.
No comments:
Post a Comment