(original)
KDiff3 is a very good comparison and merging tool (You can find it at http://kdiff3.sourceforge.net/). For merging operations bewteen two branches, it allows to see the 3 source views : “base view” (or common ancestor view), “your local branch view” and the “target view”. Also, at the bottom, it displays the final result in the “merged view”.
The good thing is that if you are using Visual Studio with TFS as the source control system you can set KDiff3 up to help you during the comparison and merging operations.
In order to setup KDiff3 in Visual Studio (2005, 2008 or 2010) do as follow:
- From Visual Studio’s “Tools” menu, select “Options …”.
- Then select “Source Control \ Visual Studio Team Foundation Server” in the left treeview control.
- On the right side, click on “Configure user Tools …”
- Then enter the following options (by clicking on “Add”):
- Compare
- .*
- Compare
- C:\Program Files\KDiff3\kdiff3.exe
-
%1 -fname %6 %2 -fname %7
- Merging
- .*
- Merge
- C:\Program Files\KDiff3\kdiff3.exe
-
%3 -fname %8 %2 -fname %7 %1 -fname %6 -o %4
- Compare