Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change repository on your folder with TortoiseSVN

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?

like image 262
PositiveGuy Avatar asked Apr 20 '09 23:04

PositiveGuy


People also ask

How do I move my TortoiseSVN repository?

If you are using TortoiseSVN (and I'm sure there's a command line tool for this as well, but I'm using Tortoise), you can simply right-click on your existing working copy folder and select TortoiseSVN –> Relocate. In the dialog that comes up, enter the new location of the repository, and click OK.

Can I move svn folder to another location?

Moving files and folders select the files or directories you want to move. right drag them to the new location inside the working copy. release the right mouse button. in the popup menu select Context Menu → SVN Move versioned files here.


Video Answer


2 Answers

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

like image 125
Jose Basilio Avatar answered Sep 23 '22 02:09

Jose Basilio


You can right click your working copy and select TortoiseSVN/Switch... Then change the "To path:" to the new folder in the repository. It worked for me.

like image 34
tim77 Avatar answered Sep 22 '22 02:09

tim77