Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you prevent two persons from editing the same file?

Tags:

tfs

In TFS 2010, How do you prevent two persons from editing the same file?

like image 339
user441222 Avatar asked Apr 20 '11 08:04

user441222


People also ask

Can all recipients edit a file at the same time?

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.

Can two people edit box file at 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.

How many people can edit a Microsoft document at the same time?

Based on the user experience, it is recommended to have a maximum number of 10 editors that can work on a specific document concurrently.

How do I turn off co-authoring in SharePoint online?

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.


2 Answers

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)

like image 85
Colin Pickard Avatar answered Nov 15 '22 07:11

Colin Pickard


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.

Checkout Dialog

like image 36
Dylan Smith Avatar answered Nov 15 '22 09:11

Dylan Smith