版本化项目导致 SVN 中的阻塞

发布于 2024-08-24 05:34:47 字数 533 浏览 14 评论 0原文

我正在使用 VisualSVN 服务器,以及 Visual Studio 中的 TortoiseSVN 和 AnkhSVN。

我有一个主干,其他团队的一些开发人员定期对其进行各种小的更改。

我有一个分支机构,正在建设一个相当重要的新开发项目。作为每周例行公事,我一直将主干合并到这个分支中。一切似乎都很顺利。

我来进行另一次这样的从主干合并到这个分支的操作​​,我收到了卡车装载的:-

上次合并操作尝试添加目录“nameoffolder”,但它已在本地添加。

然而,这些文件夹是有版本控制的,并且已经在主干和分支中存在相当长一段时间了。

我对文件也有类似的感觉:-

最后一次合并操作尝试添加文件“QueueCleanUp.ashx”,但在工作副本中被阻止。

这似乎在整个分支中很普遍,绝大多数与分支团队正在做的任何事情无关。

有人以前见过这个吗?我怎样才能在不做大量工作的情况下解决这个问题?

I'm using the VisualSVN server, with TortoiseSVN and AnkhSVN in Visual Studio.

I have a Trunk to which some devs on other teams are commiting various small changes on a regular basis.

I have a Branch on which a fairly major new development is being built. As a regular weekly routine I've been merging the Trunk into this Branch. All seems to be going ok.

I've come to do another such Merge from Trunk into this Branch and I'm getting truck loads of:-

The last merge operation tried to add the directory 'nameoffolder', but it was already added locally.

However these are folders that are versioned and have been in the Trunk and Branch for quite some time.

I get a similar thing with files:-

The last merge operation tried to add the file 'QueueCleanUp.ashx', but it was obstructed in the working copy.

This seems to be widespread accross the whole branch, the vast majority are not to do with anything that the Branch team are working on.

Anyone seen this before? How can I resolve this lot without masses of work?

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

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

发布评论

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

评论(1

·深蓝 2024-08-31 05:34:47

在 AnkhSVN 中,有一种方法可以通过启用允许未版本化的阻塞检查进行更新。为此,请打开 View ->待更改,从此处选择更新下拉列表,然后选择更新到特定版本...。在出现的对话框中,确保选择最新修订版并选中允许未版本控制的障碍

我确信 TortoiseSvn 中有类似的选项,但我自己没有安装,所以我无法检查。

命令行等效项是更新命令的 --force 开关:

svn update --force c:\myproject

In AnkhSVN there's a way to update with the allow unversioned obstructions check on. To do this open View -> Pending Changes, from here select the Update dropdown, and select Update to specific revision.... In the dialog that comes up, make sure Latest Revision is selected and check Allow Unversioned Obstructions.

I'm sure there's a similar option in TortoiseSvn, but I don't have that installed myself, so I can't check.

The commandline equivalent is the --force switch to the update command:

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