如何使用 AnkhSVN 在 Visual Studio 中切换 Subversion 存储库? [英] How to switch subversion repository in Visual Studio using AnkhSVN?
问题描述
我一直在本地开发一个项目,并使用本地 svn 服务器在 Visual Studio 中进行版本控制.我现在想切换到 xp-dev 托管版本控制,但似乎无法摆脱我的解决方案上的 svn 绑定?有没有一种简单的方法可以在没有版本控制设置的情况下复制解决方案,或者简单地切换到另一个 svn(完全为空)?
I've been developing a project locally and using a local svn server for versioning in visual studio. I now want to switch to xp-dev hosted versioning but cannot seem to get rid of the svn bindings on my solution? Is there an easy way to duplicate a solution without its versioning settings or to simply switch to the other svn (which is completely empty)?
推荐答案
请注意,这假设您正在尝试移动到新的存储库,删除所有历史记录,而不是移动存储库.考虑一下,您可能希望替换删除所有 .svn 文件夹,只需将文件夹导出到新存储库的新创建工作区.
Note that this assumes that you are trying to move to a new repository, dropping all your history, not move a repository. Thinking about it you might want to replace the removing all .svn folders with simply exporting the folder into the newly created workspace for the new repo.
我不知道.我可能会这样做,
Not that I know of. I'd probably do this,
- 从您的解决方案中删除所有 .svn 文件夹
- 在新存储库中为解决方案创建一个文件夹,
- 检查一下,
- 将您当前的解决方案移动到该文件夹中,
- 在 Visual Studio 中加载解决方案
- 使用 AnkhSvn 再次添加它.它应该知道它位于一个被颠覆的目录中,并允许您这样做.
这篇关于如何使用 AnkhSVN 在 Visual Studio 中切换 Subversion 存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!