18

This question is not a duplicate of Other users checkouts are not visible in Source Control Explorer (TFS Express)

In contrast to Other users checkouts are not visible in Source Control Explorer (TFS Express) , I can see who has checked out a specific file in Source Control Explorer.

What I want to have is a way to query where I enter the username, and get a list of files he or she has checked out.

This used to be possible in VS2010. However, I don't seem to find the equivalent dialog in Visual Studio 2012.

Community
  • 1
  • 1
Brk
  • 478
  • 2
  • 6
  • 17
  • 1
    If your users are using local workspaces then I don't believe you can get a list of files. If you absolutely must get then then make people switch to server workspaces. – Betty Jul 15 '13 at 20:52
  • @Betty We don't use local workspaces. We use server workspaces. – Brk Jul 16 '13 at 06:24
  • @Edward Thomson Can you remove the Duplicate tag and reopen the question as I have explained in detail, why this isn't the case. – Brk Jul 16 '13 at 06:35
  • 1
    Even with local workspaces, checkouts are synced to the server in the background. – jessehouwing Jul 16 '13 at 07:23
  • 1
    @jessehouwing I'm really interested in exploring the ability to sync local workspace checkouts to the server, do you have a reference for this? – Geoff Feb 09 '16 at 15:28

1 Answers1

19

You can do it from the commandline, using tf.exe status

Microsoft (R) TF - Team Foundation Version Control Tool, Version 11.0.60315.1
Copyright (c) Microsoft Corporation.  All rights reserved.

Displays information about pending changes to items in one or more workspaces.

tf status [itemspec] [/collection:TeamProjectCollectionUrl]
          [/login:username,[password]]
          ([/workspace:workspacename[;workspaceowner]]
          | [/shelveset:shelvesetname[;shelvesetowner]])
          [/format:(brief|detailed)] [/recursive] [/user:(*|username)]
          [/nodetect]

Or using the Team foundation Server Power Tools for Visual Studio 2012.

Team Explorer Enhancements

This tool provides additional Visual Studio menu options and functions to support finding files under version control by status or wildcard, opening a folder using File Explorer from the Source Control Explorer context menu, and labeling files and folders in Source Control Explorer. Clone builds definitions easily and copy work item paths. Collaborate and share with your teammates within Visual Studio using the new Team Members page in the Team Explorer tool window. You can communicate with your team through instant messaging, share queries and components, create workspace templates, and track your sprint progress.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
  • 2
    Both of the solutions you suggest work for me. tf.exe status with /user:(*|username) does a good job. I prefer Team Explorer Enhancements though as its output is better structured and more readable. I'm glad it is still possible to exchange information in StackOverflow. – Brk Jul 16 '13 at 07:20
  • i cannot find out tf.exe file – chandu komati Feb 27 '21 at 04:51
  • Try opening a visual studio developer command prompt or use vswhere https://github.com/microsoft/vswhere/issues/136 – jessehouwing Feb 27 '21 at 09:43