svnrepositoryundelete

get back deleted .svn folder


On my server I have subversion installed, but I accidently removed the .svn folder from the root so the folder is no more under version control.

When i try to make a new checkout, I get an error

svn: 'repo' is already a working copy for a different URL

Thats probably because .svn is still available in sub-folders.

How can I get back the .svn folder so that I have subversion available?


Solution

  • try to checkout your repo in a fresh folder, then copy the root .svn directory into your old root folder, it should do the stuff.