views:

243

answers:

3

I know there is an easy way to do this with SVN so there must be a similar way with TFS.

Basically, I want to have a list of every file a particular username ever edited (IE: checked out & changed or added). This is on TFS 2008.

+2  A: 

I found one way to do it:

  1. Go to Source Control Explorer in Visual Studio
  2. Right click on the project root
  3. Select Find in Source Control -> Changesets
  4. Enter the username you are looking for in the 'By User' field
  5. Click find

This returns a list of changesets from the user. You can then click the details button to expand the changeset.

Bryan Rowe
Just rebuilt my machine and noticed that the 'Find in Source Control' option is part of the TFS Power Tools - Oct 2008 package as well.
Bryan Rowe
+1  A: 
Saul Dolgin
+3  A: 

The answers so far return a list of changesets, not a list of files. Try:

Get-TfsItemHistory $/ -r -user username -all | Select-TfsItem | sort -unique path

Using the Powershell cmdlets also included with the Power Tools.

Richard Berg
+1 Powershell to the rescue
Saul Dolgin