Click here to Skip to main content
15,886,199 members
Articles / DevOps / TFS

Searching and Filtering Team Foundation Server Changesets

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
7 Jan 2016CPOL1 min read 6.9K   1  
Quick overview of searching and filtering Team Foundation Server changesets

Your first job, if you don't have them installed already, is to download and install the Team Foundation Power Tools extension. Once it's installed, type the following command into the Search box/Run box/command prompt: tfpt searchcs

This brings up the handy Search Changesets dialog, pictured below:

TFPT Search Changesets dialog

Enter the URL to your Server including the port number (e.g. http://tfsserver:8080) and the path to your Team Project. If you simply want to find all of your changesets, check the 'And committed by' checkbox and enter your username as it is displayed in the User column in the History pane in Source Control Explorer. You can perform further filtering by comment text, date and check-in notes.

Hit Start Search and you should soon see your filtered list of changesets in the bottom pane. Either click the Changeset Details button or double-click the search result to see the files contained within the changeset.

You may get an error box pop up complaining about being unable to find tf.exe (I did). If that happens, you'll need to add the path to tf.exe, which is the command line utility for interacting with TFS, to your system path. It's installed with Team Explorer and should be found here (on a 64-bit OS, Visual Studio 2013 - replace with your version): C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE

Add this to your path (Control Panel > System > Advanced System Settings > Environment Variables...) and you should be good to go.

View original article

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead Levelnis Ltd
United Kingdom United Kingdom
Follow along my journey as I create a newsletter about launching websites. Just message me with "I'm in" and I'll add you

Comments and Discussions

 
-- There are no messages in this forum --