I accidentally deleted a folder in SVN and added it back immediately. I ran into an issue with this and my solution ended up removing the folder completely from my local copy as
The quickest way for me to fix it was to duplicate the affected folder, and commit it with an alternative name. Then svn mv duplicateFolder originalFolder
. Pretty easy.
So, take folder1 and make a folder1Copy:
svn delete folder1
svn add folder1Copy
Commit and update:
svn mv folder1Copy/ folder1/
Commit again and it's fixed.