Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find and view a TFS changeset by comment text?

Tags:

tfs

People also ask

How do I find a particular changeset in TFS?

Take searching for a changeset in Visual Studio's TFS Source Explorer. Luckily if super easy to do! When you're in the Source Explorer, simply press Ctrl + G and the Find ChangeSet dialog will appear. From here you can type the changeset number and press OK.

How do I search changeset?

In Solution Explorer or Source Control Explorer, browse to the folder or file, open its shortcut menu, and choose View History. In the History window, select the row that contains the changeset for which you want to view details, open its shortcut menu, and then choose Changeset Details.

How do I edit changeset comments in TFS?

Click on the Changeset [number] link for the changset you are interested in. Above the changeset details panel click on the little speech bubble with the plus sign, a textbox will appear and you can enter your comment - hitting Enter will save the comment.


If you have TFS Power Tools installed, you can run this in a command prompt:

tfpt searchcs

to get a GUI window with options to search by committer and comment text. I'm using TFS Power Tools (March 2011 version) and TFS 2010.


EASY WAY and no 3rd party apps/add-ons needed:

  1. Open Source Control Explorer
  2. "View History" from the root of TFS server
  3. Scroll to the bottom (it's fast with hitting "End" button continuously)
  4. Select all records, copy
  5. Open Excel and paste

Now the Excel will allow you to search through comments (Excel's a native app, don't argue..).


With the Power Tools installed:

tf history $/ -r | ? { $_.comment -like '*findme*' }

There's a Visual Studio add-in that does it now: http://visualstudiogallery.msdn.microsoft.com/3f65dee8-5a44-4771-929b-26531c482fbf.