Can Visual Studio (should it be able to) compute a diff between any two changesets associated with a

Posted by Hamish Grubijan on Stack Overflow See other posts from Stack Overflow or by Hamish Grubijan
Published on 2010-04-17T12:01:41Z Indexed on 2010/04/17 12:13 UTC
Read the original article Hit count: 172

Filed under:
|
|

Here is my use case:

I start on a project XYZ, for which I create a work item, and I make frequent check-ins, easily 10-20 in total. ALL of the code changes will be code-read and code-reviewed.

The change sets are not consecutive - other people check-in in-between my changes, although they are very unlikely to touch the exact same files.

So ... at the en of the project I am interested in a "total diff" - as if there was a single check-in by me to complete the entire project. In theory this is computable. From the list of change sets associated with the work item, you get the list of all files that were affected. Then, the algorithm can aggregate individual diffs over each file and combine them into one. It is possible that a pure total diff is uncomputable due to the fact that someone else renamed files, or changed stuff around very closely, or in the same functions as me. I that case ... I suppose a total diff can include those changes by non-me as well, and warn me about the fact.

I would find this very useful, but I do not know how to do t in practice. Can Visual Studio 2008/2010 (and/or TFS server) do it? Are there other source control systems capable of doing this?

Thanks.

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about total