Comparison to Previous version

Jun 7, 2012 at 6:01 PM

Is there a way to use TeamReview to review code changes compared to the previous version?  In other words, to have two panes, one with previous and one with current, and select code to write peer comments about?

Coordinator
Jun 7, 2012 at 11:33 PM

Sorry no such feature. Would be a really neat feature.

Of course you can display the history of a code file, and perform a difference between the changeset versions.

Then create/record a code review item against a changeset.

The code comparision operation can be performed by a user configured external program/tool.

Jun 11, 2012 at 2:38 PM

Thanks.  So TeamReview doesn't show/highlight what has changed at all, right?

Coordinator
Jun 13, 2012 at 12:08 AM

Correct, TeamReview does not do a code comparision between changesets.

You use the visual studio diff program or configure an external code difference program (VS2010 menus -> Tools -> Options -> Source Control -> Visual Studio Team Foundation Server -> Configure User Tools - add for the compare operation your program of choice)

(eg try http://visualstudiogallery.msdn.microsoft.com/dace3633-0b51-4629-85d4-c59cdce5bb3b )