tags:

views:

241

answers:

3

Someone emailed me a TFS changeset ID and now I am trying to open this single changeset. Is there an easy was to do this from within Visual Studio (VS 2008 if it matters)?

+4  A: 

In the Source Control Explorer (View -> Other Windows -> Source Control Explorer):

  1. Right click on the folder you want to grab
  2. Click Get Specific Version
  3. Change the dropdown from "Latest Version" to "Changeset"
  4. Find your changeset on via the browse (...) button.
  5. Change to search to changeset number

Just select the result and hit ok.

Alternatively, if you want to see what changes were in that changeset...

  1. Go to the same Source Control Explorer
  2. Click the History button (looks like a clock)
  3. Scroll down the changeset list that appears, double click the one you want.

This will list the files changed in that changeset as well as notes the developer put.

Nick Craver
Cool, this works even if it is less than intuitive or direct. Thanks
Jack Bolding
+1  A: 

or, from a VS command prompt type "tf changeset 1234" (make sure that your root folder is inside of your workspace or you will have to explicitly define the team project etc.)

StarBright
Definitely works, even if it is not completely within visual studio. I suppose that I could add an add-in to do it from with VS...or deal with being at the command line.
Jack Bolding
A: 

Open the Source Control Explorer in VS. Press Ctrl-G. Enter the number in the Go To Changeset dialog and press OK.

I did this with VS 2010, but I recall this working in 2008.

(anyone know a different or better way to get to this dialog?)

Aardvark