Question

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?

Was it helpful?

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.

OTHER TIPS

You could delete everything and checkout a fresh copy. Or you could try letting everything in place and checkout with a depth of 1. See http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.checkout.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top