VisualSVN 更改现有 URL
我工作的公司更新了 DNS 服务器并更改了名称。现在我无法让 VisualSVN 接受更改。
URL 为 https://dev.xyzdns.local:8443/svn/project
,现在需要为 https://dev.xyz.local:8443/svn/project< /代码>。如果我尝试更改 Visual Studio 2010 中的 URL,它会出现切换到分支窗口,我单击“确定”,它告诉我新旧存储库不相同。我还尝试手动浏览注册表和 VisualSVN 文件夹并更改对新 DNS 名称的引用,但无济于事。如果重要的话,SVN 服务器和主要开发计算机是相同的。
我能做些什么?
The company I work for has updated it's DNS server and changed it's name. Now I can't get VisualSVN to accept the change.
The URL was https://dev.xyzdns.local:8443/svn/project
and now it needs to be https://dev.xyz.local:8443/svn/project
. If I try to change the URL in Visual Studio 2010, it comes up with the switch to branch window, I click OK and it tells me that the old and new repository are not the same. I've also tried manually going through the registry and the VisualSVN folders and changing references to the new DNS name and to no avail. If it matters, the SVN server and primary development computer are the same.
What can I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 TortoiseSVN,右键单击您将 svn 存储库签出到硬盘上的最顶层文件夹。
只需输入新的 URL,然后单击“确定”。
甚至无需重新启动 Visual Studio,您就可以使用新的 url 提交/更新。
Use TortoiseSVN, rightclick the top most folder you checked-out your svn repository to on your harddrive.
Simply type in the new url, and click OK.
Without even restarting Visual studio, you can commit/update with the new url.
VisualSVN 仅用于 Visual Studio 集成。此类工作需要在 VS 之外并使用 TortoiseSVN Shell 本身来完成。
具体的TortoiseSVN命令是“Relocate”:
编辑
根据OP的评论,如果您只想从头开始而不保留任何历史记录:
从这里,您将需要执行所谓的“就地导入”:
VisualSVN is only for visual studio integration. This type of work needs to be done outside VS and with the TortoiseSVN Shell itself.
The specific TortoiseSVN command is "Relocate":
Edit
From the OP's comments, if you just want to start from scratch and not retain any history:
From here, you'll want to perform what is known as an "Import in Place":