0

Possible Duplicate:
View TFS changeset details in console

I need a report of the difference between two revision inside a TFS project.

I'm building a simple patch system, and from an article I read on #AltDevBlogADay describes this system. It says that if you can get the difference between your last patched revision release and the current revision that needs to be distributed for patching, all the files should be very easy to pick up/add/delete.

I tried googling, even the MSDN help on the tf.exe command line calls, but none of them help. I'm using the tf hist . -r /version:C1~C3 command but it's only producing the name of the committer, the changeset number, and the comment that was left with the changeset, but no details on the individual files, and wheter they were added, created or deleted.

Community
  • 1
  • 1

2 Answers2

1

You can use tf diff to extract the differences and output them in a file as the following:

tf diff FabrikamFiber.CallCenter\fabrikamfiber.web\controllers\ /version: c7~c26 >c:\Radwan.txt

For more info, I have create a video that describe how to perform that command.

TF.exe Fast Overview

Mohamed.Radwan -MVP
  • 2,724
  • 2
  • 16
  • 24
0

Take a look at the difference command from MSDN. Also, a great tool to compare the status of files, work spaces, and history of change sets or files is Team Foundation Sidekicks. This tool is free and very powerful.

SoftwareCarpenter
  • 3,835
  • 3
  • 25
  • 37