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?
Right click on the selected revision(s), then select Context Menu → Revert changes from this revision. Or if you want to make an earlier revision the new HEAD revision, right click on the selected revision, then select Context Menu → Revert to this revision.
Deleting files and foldersUse TortoiseSVN → Delete to remove files or folders from Subversion. When you TortoiseSVN → Delete a file or folder, it is removed from your working copy immediately as well as being marked for deletion in the repository on next commit.
svn directory that you can delete. This will return it to a normal directory which you can clean up. You will need to show hidden files in order to see the .
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With