66

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?

4
  • 1
    how you looked at the TFS Powertools? Or can you wait for VS2k10 where there is (finally!) better support for working with changesets? Feb 22, 2010 at 21:06
  • I think he's interested in using something already in VS... in other words without using a plugin Feb 22, 2010 at 21:11
  • I don't mind trying a plugin... I've used Sidekicks (didn't do what I want). I'll look at Powertools.
    – JoshL
    Feb 22, 2010 at 22:30
  • This is a damn good question! Something as simple as trac timeline ( trac.edgewall.org/timeline ) is fantastic when it comes to getting a quick daily overview of what has happened with the source. I can't find anything remotely similar in TFS :-(
    – Isak Savo
    Apr 1, 2010 at 7:13

4 Answers 4

99

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.

2
11

in the Source Control Explorer window, right-click on any folder in the source control tree and select View History. this will give you a list of changesets that touch that folder (recursively). It's not a way to key in a changeset, but it's another easy way to see changesets

you can also right click on a folder and select Find in Source Control -> Changeset... which will allow you to enter a changeset number or range.

** these might be part of TFS Power Tools

5

On the website which is provided by TFS or on Visual Studio Online, go to your team home page. Then on that page click on the link Code then Changesets which after loading provides a list of the historical change-sets.

Steps

enter image description here

4
1. Open Visual studio and find Team Explorer(right hand side of computer screen).
2. Click on Team Explorer and Look for Source Control Explorer.
3. Now Click on Source Control Explorer.
4. Now Press CTRL+G
5. Changeset popup will come up.
6. Enter Changeset Number.
7. Click OK button of Changeset Popup.
8. Changeset Details will come up.

enter image description hereenter image description hereenter image description hereenter image description hereenter image description here

Thanks... :)

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.