Alright, I am working on a small app which recursively deletes empty directories. I have it under source control at Codeplex and I use TortoiseSVN to access it.
So, one day, I ran it on the directory where I have all my code. And it ran fine. Empty directories were gone. But then when I tried to Commit the latest changes in any of my Subversion hosted project, it just wouldn't do it! It was complaining about some missing folders or something. Apparently there are hidden folders called .svn spread around in the working directory (which I kind of knew about) which contains, among other things, very crucial empty directories (which I didn't know about). Apparently, they are so crucial that you cannot do anything when they are gone. Things just stop working...
I tried to do SVN Update, Clean up, Update to revision, Revert, and so on. Nothing worked. Always got error messages of some sort. Ended up having to move the folder, create a new one, get all the stuff from Codeplex again, and then manually move over my changes from the old folder. Very tedious and annoying.
So, what is going on there? Why can't it work without those empty folders? And is there any way to fix it if it happens again?