In TFS 2010, How do you prevent two persons from editing the same file?
Share files in Drive, Docs, Sheets, or Slides Up to 100: You can let up to 100 people with view, edit, or comment permissions work on a Google Docs, Sheets, or Slides file at the same time.
Multiple people can edit a single document simultaneously, and all changes will be automatically saved back to Box. When multiple people are editing a document, their names will appear in the upper right corner. Your collaborator's text cursor will appear in a unique color, and their name will be displayed next to it.
Based on the user experience, it is recommended to have a maximum number of 10 editors that can work on a specific document concurrently.
To disable co-authoring, Just right-click on the file >> More >> Choose the “Checkout” option. Now that gives exclusive access to that document, and you'll see a little green arrow in the document indicating that you have exclusive access to that document.
You want to remove the multiple checkout option.
You will need permissions on the Team Project to change it – if you are unsure, speak to your TFS Administrator.
To get to the option itself, first go into Visual Studio, to the Team Explorer and then right click on the project you want to change the option for. Then select Team Project Settings, then select Source Control. In the dialog that appears, untick “Enable multiple check-out” and hit ok.
(quoted from http://www.neillans.co.uk/?p=492)
If you want to do it on a specific file/check-out, when you choose to Check Out a file the dialog allows you to select from a handful of lock types that can prevent other developers from checking out or in that file while you have it checked out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With