.svn/tmp directory may be missing or corrupt
I recently spent a substantial amount of time trying to fix an error I got after installing a new subversion client. “your .svn/tmp directory may be missing or corrupt”. The message indicates to run a cleanup, but cleanup just gives the same error.
After some Googling I found a Linux command that will fix the problem, but no Windows version. Here’s a functionally equivalent command that will fix it in Windows:
for /R /D %i in (.svn) do if exist "%i" mkdir "%i/tmp"
You will need to open a shell, cd to your code directory, then run the above command. It will place a new tmp directory inside each .svn directory.
After you run the command, your svn cleanup should succeed and you’ll be able to continue working as usual.