TortoiseSVN设置WinMerge或Beyond Compare

WinMerge:C:\Program Files\WinMerge\WinMergeU.exe -e -ub -dl %bname -dr %yname %base %mine

Beyond Compare 3:C:\Program Files\Beyond Compare 3\BComp.exe %mine %base

Diff Viewer

"C:\Program Files (x86)\Beyond Compare 3\BComp.exe" %base %mine /title1=%bname /title2=%yname /leftreadonly

Put the SAME THING for both “comparing different revisions of files” and “comparing different revisions of properties”.
Merge Tool

"C:\Program Files (x86)\Beyond Compare 3\BComp.exe" %mine %theirs %base %merged /title1=%yname /title2=%tname /title3=%bname /title4=%mname

TortoiseSVN

Diff

   1. Select Settings from Explorer's TortoiseSVN submenu.
   2. Switch to the Diff Viewer tab.
   3. Change the radio buttons from TortoiseMerge to External.
   4. In the path edits, enter:
      "C:\Program Files\Beyond Compare 3\BComp.exe" %base %mine /title1=%bname /title2=%yname /leftreadonly

To use Beyond Compare for image comparisons either replace the file C:\Program Files\TortoiseSVN\bin\TortoiseIDiff.exe with a copy of BComp.exe, or click the Advanced button on the Diff Viewer tab and add each image type's extension with the same command line as above.

3-way Merge (v3 Pro)

   1. Select Settings from Explorer's TortoisSVN submenu.
   2. Switch to the Merge Tool tab.
   3. Change the radio buttons from TortoiseMerge to External.
   4. In the path edits, enter:
      "C:\Program Files\Beyond Compare 3\BComp.exe" %mine %theirs %base %merged /title1=%yname /title2=%tname /title3=%bname /title4=%mname

2-way Merge (v3 Std, v2)
Use the same steps as above, but use the command line:
"C:\Program Files\Beyond Compare 3\BComp.exe" %mine %theirs /savetarget=%merged

posted @ 2011-03-15 22:42  dzqabc  阅读(3918)  评论(0编辑  收藏  举报