I’ve got a couple large checkouts where the .svn folder has become damaged so I’m getting and error, ‘Cleanup failed to process the following path..’ And I can no longer commit or update files in that directory.
I’d just delete and do the checkout again but the whole directory is over a gig.
Is there a tool that will restore the .svn folders for specific folders without having to download everything?
I understand that it’s going to have to download all the files in that one folder so that it can determine if they’ve been changed..but subdirectories with valid .svn folders should be fine.
Oh.. I’m a big fan of TortoiseSVN or the command line for linux.
Thoughts?
In case you have changes to the files, and cannot delete them, you can use the Subversion 1.5 feature that allows you to ‘checkout with obstructions’.
Just delete the .svn directory in this directory and:
(you don’t need to delete inside directories when using –depth files, thanks Eric)
In case the broken directory was the top directory of the working copy:
And if the directory above the broken one is still versioned run:
in that directory.
In both samples REPOS is the url in the repository that matches the broken directory, and WC is the path to the directory.
Files that were originally modified will be in the modified state after this.