Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
523 views
in Technique[技术] by (71.8m points)

tfs - 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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...