开发者

How can I change the SVN URL in Visual Studio

开发者 https://www.devze.com 2023-02-11 20:59 出处:网络
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 con

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 externa开发者_如何学Pythonl 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'


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!


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?


How to switch subversion repository in Visual Studio using AnkhSVN?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号