Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 552
coding4fun Avatar asked Oct 25 '12 13:10

coding4fun


1 Answers

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

like image 74
Betty Avatar answered Sep 28 '22 08:09

Betty