Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unified Diff in TFS

Tags:

tfs

Anyone know if this (generating a unified diff) is possible and if so, how?

Thanks.

like image 413
sydneyos Avatar asked Dec 29 '09 22:12

sydneyos


1 Answers

It's tf diff /shelveset:<set> /format:unified. However, note that unlike most modern version-control systems, TFS can't actually work with patch files afaik. That is, you can't take the result of the diff and apply it to a set of files to get the resulting changes. (What most people do is zip up the files that changed and drop-and-replace that as a "patch". Ick.)

like image 122
John Feminella Avatar answered Sep 20 '22 15:09

John Feminella