结帐时自动获取结帐锁 (tfs2012)?
使用服务器工作区时,有什么方法可以自动获取结帐锁.我知道您可以通过工具--> 选项并在签入项目--> 编辑"下指定结帐时锁定提示",但我们希望它自动发生,而不必在他们面前抛出一个对话框并制作他们选择结账锁.我们正在从 sourcesafe 迁移到 TFS,我们有一些用户不需要本地工作区和/或多次签出的灵活性.如果他们遇到合并冲突对话框,他们会吓坏的.有什么方法可以让 tfs 像 sourcesafe 一样工作?
When using a server workspaces is there any way to automatically acquire a checkout lock. I know you can go through Tools-->Options and under "Check-in Items-->Edit" specify "Prompt for lock on checkout" but we want it to automatically happen and not have to throw a dialog in their face and make them choose a checkout lock. We are in the process of migrating to TFS from sourcesafe and we have a few users that don't need the flexibility of local workspaces and/or multiple checkouts. They are going to freak out if they ever get a merge conflict dialog. Any way to make tfs act just like sourcesafe?
禁用多次结帐
团队 -> 团队项目设置 -> 源代码管理 -> 取消勾选允许多次签出"
Team -> Team Project Settings-> Source Control -> Untick "Allow Multiple Checkouts"
将服务器工作区设置为默认值
团队 -> 团队项目集合设置 -> 源代码管理 -> 工作区设置 -> 服务器工作区
Team -> Team Project Collection Settings-> Source Control -> WorkSpace Settings -> Server Workspaces