Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you see the changes for a version in TFS?

I'm trying to migrate to TFS from VSS and I need to be able to show what files were checked in between two releases. In VSS we would just label the code for a release and view history between labels and generate a report to show the checkins and the comments. Is there a way to get similar results with TFS? Or show the differences between two changesets or labels?

like image 692
Ryan Avatar asked Dec 14 '22 04:12

Ryan


1 Answers

The command line tool tf.exe gives you more options than the GUI (and can either give results in a Dialogue or as standard output --- good for feeding into further processing).

E.g.

tf hist . -r /version:C10~C1000

will list all the changesets affecting this folder and content recursively between changesets 10 and 1000.

See the documentation on MSDN.

If you need maximum flexibility, you can create your own commands using the TFS client assemblies. Unfortunately documentation is somewhat sparse.

like image 139
Richard Avatar answered Dec 28 '22 01:12

Richard