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

Categories

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.

See Question&Answers more detail:os

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

1 Answer

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 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.

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...