ankhsvn:存储库在内部折叠

发布于 2024-10-28 05:48:50 字数 317 浏览 4 评论 0原文

我一直在使用 AnkhSVN 和 VS2010 来开发多个项目(“解决方案”)。有一段时间我的承诺进展顺利。但最近,Ankhsvn 将我的存储库更改为我的项目之一,因此本应是子项目的项目现在复制了整个存储库结构。这种情况发生过多次,以至于我必须检查的当前项目位于另一个项目中,而另一个项目本身又位于另一个项目中。我已经转到文件 ->颠覆->更改源代码管理但无法编辑 URL。当我尝试使用“挂起的更改”时,我收到一条有关工作副本上的锁损坏的 errmsg。当然我已经尝试过几次 Clean 了。我也尝试过 Switch,我认为这给我带来了更多麻烦。回购协议最初是如何改变的?知道我做错了什么(以及如何解决)吗?

I've been using AnkhSVN with VS2010 for development of several projects ("solutions"). For a while my commits have been going fine. But recently, Ankhsvn has changed my repository to one of my projects, so that what should be a child project now duplicates the entire repository structure. This has happened on more that one occasion such that the current project I have to check out is located within another project which itself is within another project. I've gone to File -> Subversion -> Change Source Control but the URL can't be edited. When I try using Pending Changes, I get an errmsg about a broken lock on the working copy. Of course I have tried Clean several times. I also tried Switch which I think got me into more trouble. How did the repo get changed in the first place? Any idea what I did wrong (and how to fix) ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

顾忌 2024-11-04 05:48:50

可能发生的情况是绑定路径已更改。您可以通过选择“文件”->“文件”中的解决方案来更改此设置。颠覆->更改源代码管理,然后单击 ... 按钮。该值存储在 sln 文件的 SCC Bindings 部分中。

使用 File -> 查看解决方案时会发生什么?打开-> Subversion 项目的特点是它在上面的 SCC 绑定路径定义的级别上进行检查。

我还建议查看较小的工作副本,因为这样效率更高。您希望在主干级别(或当然任何分支)进行检查。检查上面的分支意味着分支和标记突然变得昂贵(因为每次发生它时你的工作副本都会增长很多)

What probably happen is that the binding path was changed. You can change this by selecting the solution in File -> Subversion -> Change Source Control, and clicking the ... button. This value is stored in the sln file in the SCC Bindings section.

What happens when checking out the solution, using File -> Open -> Subversion Project, is that it checks out at the level defined by the SCC Binding Path above.

I would also recommend checking out a smaller working copy, because it's much more efficient that way. You're looking to check out at the trunk level (or any branch ofcourse). Checking out above branch means that branching and tagging is suddenly expensive (because each time it happens your working copy grows a lot)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文