Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know if a file is checked out by someone else in TFS 2010?

Tags:

vcs-checkout

I want to make sure no one else is checking out the source codes so that I can make a released installer. So, I want to see 1) the #1 list of users who are checking out a specific file and 2) the #2 list of all checked out files ; but I don't know how to. Please help if you do!

Edit

A colleague show me that we can see the list #1 on per user basic by: Source Control - Team Members - Right click a user - Show Pending Changes - Done. This is great but not perfect. Would be lovely to see the whole list of every member.

One more step to follow to see the whole list Modify Query (on the left top corner) and select Display all checked out.

like image 701
Nam G VU Avatar asked Nov 25 '10 03:11

Nam G VU


People also ask

How do I check my TFS history?

Right-Click If you have the Source Control Explorer or File List open, right-click the file you want to view and select Source Control > View History. Local Toolbar In the File List, select the file(s) you want to view. In the local toolbar of the File List, click , then select View History .

What is check out in TFS?

Check Out: Prevent other users from checking out and checking in the items until you check in and unlock them. Check In: Allow other users to check out the items you are checking out, but prevent them from checking in their changes until you check in your changes and unlock the items.

How do I check a TFS file?

Right-Click In the File List, right-click the file you want to check in and select Source Control > Check In (for selected files) or Source Control > Project > Check In All (for all files in the project).


1 Answers

Open a Visual Studio 2010 Command Prompt (Start->All Programs->MS Visual Studio 2010->VS Tools). Type:

tf status /user:*

This will give you all pending changes for all users in all workspaces.

For a specific file, just type:

tf status /user:* c:\myfile.txt

More info here.

like image 90
LeWoody Avatar answered Oct 20 '22 18:10

LeWoody