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

Nam G VU picture Nam G VU · Nov 25, 2010 · Viewed 19.9k times · Source

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.

Answer

LeWoody picture LeWoody · Nov 25, 2010

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.