在提交SVN之前,你也许需要对比一下修改的内容。Eclipse Subversion自带的文件对比工具肯定没有Beyond Compare看着习惯。当你在电脑上安装好Beyond Compare之后,就可以配置在Eclipse Subversion中使用Beyond Compare对比文件。步骤如下:

  1. Preferences -> Team -> SVN -> Diff Viewer_
  2. Add…_
  3. Extension or mime-type_: *
  4. Diff program arguments -> Program Path_: enter the path for BComp.exe (with no arguments). E.g.:E:\Tools\BeyondCompare3\BComp.exe  (我第一次设置因为目录有空格,无法打开。)

  5. Diff program arguments_ (box):

    ”${base}” “${mine}” /lefttitle=“Base ${base}” /righttitle=“Local ${mine}”

  6. Merge program arguments -> Program path_: path to BComp.exe again.

  7. Merge program arguments_ (box):

    ”${theirs}” “${mine}” “${base}” “${merged}” /lefttitle=“Incoming (${theirs})” /centertitle=“Base (${base})” /righttitle=“Local (${mine})” /outputtitle=“Merged (${merged})”

  8. OK.Enjoy it!_