Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the SVN URL in Visual Studio

In my office, I have a working repository, where I am able to work on my laptop to modify files and commit them to that repository. I am using a local URL for this, which points directly to the PC containing the repository. Additionally, we published this repository for external users as well, so they are able to make changes to the repository without being on our local network. All is working fine there. However, my laptop which normally using the local connection, now needs to be moved to one of those external locations. I would like to be able to change the URL in my solution in Visual Studio, without having to 'create project from SVN'

like image 711
RNON Avatar asked Feb 19 '11 08:02

RNON


2 Answers

Navigate to View -> Pending Changes.

You can see the Pending Changes prompt at the bottom.Then Select the drop down on the top right and select other option. Provide the new URL and click on OK button.

Done!

like image 60
Divakar Gujjala Avatar answered Oct 25 '22 21:10

Divakar Gujjala


Whay you need is relocate (NOT switch) to tell your working copy that the URL of the repository changed (from your local URL to the external URL).

In the thread Collin linked to is most likely the correct answer: How to switch subversion repository in Visual Studio using AnkhSVN?

like image 20
Knowleech Avatar answered Oct 25 '22 21:10

Knowleech