版本化项目导致 SVN 中的阻塞
我正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 AnkhSVN 中,有一种方法可以通过启用
允许未版本化的阻塞
检查进行更新。为此,请打开View ->待更改
,从此处选择更新
下拉列表,然后选择更新到特定版本...
。在出现的对话框中,确保选择最新修订版
并选中允许未版本控制的障碍
。我确信 TortoiseSvn 中有类似的选项,但我自己没有安装,所以我无法检查。
命令行等效项是更新命令的
--force
开关:In AnkhSVN there's a way to update with the
allow unversioned obstructions
check on. To do this openView -> Pending Changes
, from here select theUpdate
dropdown, and selectUpdate to specific revision...
. In the dialog that comes up, make sureLatest Revision
is selected and checkAllow 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: