tags:

views:

1083

answers:

4

with TFS I need to find a changeset by comment, and or by developer. Maybe I'm just blind today, but I don't see a simple way in the Sorce Control Exploer to do this task?

+2  A: 

You can use the command line client: pipe the output of tf history to a file and then use whatever search program you prefer.

Stuart Dunkeld
A: 

I don't know a way to do it by Comment Text, but this will allow searching by developer:

If you open the menu item File->Source Control->Find In Source Control->Changesets... (you must be in Source Control Explorer for this to be available). This will open the Find Changesets dialog. You can then search for change sets by Developer on a given source folder (or project).

This will show you the comments, but you can't search by them. (Though you can sort the list by the comments and find the comment you are looking for that way.)

On a side note, if you want to see the details of the changeset via this dialog you have to click the Details button. Double clicking on a changeset closes the dialog.

Vaccano
+2  A: 

With the Power Tools installed:

tfhistory $/ -r | ? { $_.comment -like *findme* }
Richard Berg
Excuse my ignorance, but what's the "?" command into which you're piping the result of tfhistory?
Mal Ross
It's the standard alias for Where-Object. See "help where -full" for complete details.
Richard Berg
A: 

To see the checkins for a team member:

In team explorer, navigate to the Team Project, navigate to Team Members, right click the team member for who you want to see the changesets, and select "Show CheckIn History".

Phillip Ngan