Monday, August 17, 2009

How to use WinMerge as ClearCase compare & merge tool?

WinMerge made ClearCase much more bearable to work with.

When installing WinMerge make sure you tick the 'Integrate with ClearCase' option.
That will make ClearCase use WinMerge as the compare program but ClearCase still uses its own merge program when resolving conflicts.
To change that setting you have to modify ClearCase configuration file manually.
The configuration file is usually in the lib managers' folder of the ClearCase installation.
e.g. C:\Program Files\Rational\ClearCase\lib\mgrs\map

The change to the map file is based on what WinMerge did to the xcompare value
;text_file_delta xmerge ..\..\bin\cleardiffmrg.exe
text_file_delta xmerge C:\work\tools\WinMerge\WinMergeU.exe

1 comment:

Unknown said...

thanks Man! it helped me..