Nam G VU
Nam G VU

Reputation: 35374

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

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.

Upvotes: 15

Views: 20638

Answers (6)

LeWoody
LeWoody

Reputation: 3649

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.

Upvotes: 19

mahichR
mahichR

Reputation: 365

#1 Solution

  1. Open Source Control Explorer.
  2. In this explorer browse to the file and select it.
  3. File > Source Control > Find in Source Control > Status...
  4. Don't change anything in this opened window and click Find

#2 Solution

  1. View > Other Windows > Pending Changes

Upvotes: 1

vinay ashar
vinay ashar

Reputation: 1

Goto Views-->Other windows -->pending changes

Upvotes: 0

devlife
devlife

Reputation: 16145

I think Team Foundation Sidekicks (http://www.attrice.info/cm/tfs/) is much easier then using the command prompt.

Upvotes: 3

Nam G VU
Nam G VU

Reputation: 35374

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.

Upvotes: 5

KTHL
KTHL

Reputation: 119

In Visual Studio, look in the Source Control Explorer (View menu > Other Windows > Source Control Explorer). That will show you who has each file checked out and if they have an exclusive lock on the file.

Upvotes: 1

Related Questions