Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to browse TFS changesets?

Tags:

tfs

I want to browse TFS changesets.

I do NOT want to search changesets by specifying a file contained within the changeset. I do not want to specify which user I think created the changeset.

I simply want to key in a changeset number and look at that changeset. Or maybe view a range, and then browse those.

No specified file, no specified user. TFS 2008 seems to not want to allow me to do this.

I must be missing something.

How do you do this?

like image 281
JoshL Avatar asked Feb 22 '10 21:02

JoshL


People also ask

How do I search for changesets in TFS?

Find a changesetIn Source Control Explorer, on the menu bar, File => Source Control => Find => Find Changesets. The Find Changesets dialog box will appear. (Optional) Next to the Containing File box, choose Browse.

How do I show changesets in Visual Studio?

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 access my TFS?

Select the Manage Connections button in Team Explorer to open the Connect page. Choose Connect to Team Project to select a different organization, TFS, or project to connect to. Select the projects to work on. If it's your first time connecting, add TFS to the list of recognized servers.

How do I search TFS history?

Navigate to TFS in your browser, go to code, click on changesets, then advanced search. You can filter by user and date range. You can not search by comment, but if you have a general date range in mind then you can filter it down then use the browsers search (ctrl + f).


1 Answers

In Source Control Explorer, hit CTRL+G. This will bring up the Find Changesets dialog. Unfortunately it's kind of one-size-fits-all in VS 2008: you have to work inside a big bulky search dialog, even if you already know the number(s). In your case, flip the radio button to search by range and then key in the desired changeset number as both the start & end of the range.

The VS 2010 version of this dialog simplifies the "lookup single changeset by #" use case, FWIW.

My personal preference: if you have a console window open, there's a quicker route. Simply type tf changeset 12345. If using the Power Tools, you can substitute "Get-TfsChangeset" or "tfchangeset" for improved performance and programmability.

like image 195
Richard Berg Avatar answered Oct 03 '22 10:10

Richard Berg