Automatically acquire a checkout lock when checking out (tfs2012)?

做~自己de王妃 提交于 2019-11-27 02:49:56

问题


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?


回答1:


Disable multiple checkouts

Team -> Team Project Settings-> Source Control -> Untick "Allow Multiple Checkouts"

Set Server Workspaces to be the default

Team -> Team Project Collection Settings-> Source Control -> WorkSpace Settings -> Server Workspaces



来源:https://stackoverflow.com/questions/13069584/automatically-acquire-a-checkout-lock-when-checking-out-tfs2012

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!