Change repository on your folder with TortoiseSVN

Viewed 87612

I accidentally created a repository without the default folders in TortoiseSVN then did a checkout locally. Realized hey, I forgot to create that repository with the defaults so I deleted the repository using VisualSVN Server and then recreated the same repository name which now has the default folders trunk, etc.

Problem is, my local folder has already been checked out. How can I change it/repoint to the new repository URL?

5 Answers

You can right click on the folder, and click "relocate" in the Tortoise menu.

Assuming you don't have any files in the checked out version that you need, just delete the directory and checkout again.

(Assuming you have files in your local working copy): Since you created a new repository, I guess you have to import your working copy into the repository.

Using TortoiseSVN, you can export your working copy to a different folder (so that you only have your source files, without the .svn folders). Then you can import that folder into /trunk of your new repository.

Related