문제

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?

도움이 되었습니까?

해결책

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top