在 TFS 启用多签出文件 [英] Enable Multi check out files at TFS

查看:22
本文介绍了在 TFS 启用多签出文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个小团队中使用 TFS 2010.签出文件的策略不启用多重签出.但我希望对于特定文件(仅适用于两个文件(cs 文件))有多重签出选项?使用签出编辑"时,锁定类型"的组合框表示只有一个人可以编辑文件,没有更改选项.

I use TFS 2010 with a small team. The policy of check out files does not enable multi check out. But I want that for specific files (only for two files (cs files)) there is option for multi check out? When one uses "check out for edit", the combo box of "Lock Type" said that only one can edit file and there is no option to change it.

推荐答案

TFS 中的多次结帐只能在项目级别启用或禁用.要启用或禁用它,具有团队项目管理员访问权限的人员需要使用团队资源管理器导航到:

Multiple checkout in TFS can only be enabled or disabled at the project level. To enable or disable it, someone with Team Project Administrator access needs to use Team Explorer to navigate to:

(project) -> Team Project Settings -> Source Control -> Checkout Settings 并打开Allow Multiple Check-Outs"框.

(project) -> Team Project Settings -> Source Control -> Checkout Settings and toggle on the "Allow Multiple Check-Outs" box.

如果为一个项目启用了多个检出,并且您右键单击源代码管理资源管理器中的特定项和检出以进行编辑",您现在应该会收到询问哪种类型的提示要应用的锁定类型.这使您可以专门针对每件商品进行独家结账.

If multiple checkouts are enabled for a project, and you right-click on a specific item in Source Control explorer and "Check Out For Edit", you should now get the prompt asking what kind of lock type to apply. This allows you to specifically do exclusive checkouts on a per-item basis.

但是,AFAIK,您不能将多次结帐限制为一个项目的子集,除非您强制您的用户手动对其他所有内容进行排他性结帐.

However, AFAIK, you cannot limit multiple checkouts to a subset of items, unless you force your users to manually do exclusive check-outs of everything else.

这篇关于在 TFS 启用多签出文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆