svn配置外部的比较工具
2010-12-22 18:14
288 查看
第一种方式是直接命令行中指定:
D:/workbench/test/testrep>svn diff --diff-cmd="D:/ProgramFiles/IDM Computer Solutions/UE
Studio/uestudio.exe" -r 1:20 src/parameter.properties
第二种方式是在%APPDATA%/subversion/config文件中配置,配置内容如下:
diff-cmd =D:/svn_repository/DIFF.BAT
DIFF.BAT内容如下:
@ECHO OFF
REM Configure your favorite diff program here.
SET DIFF="D:/ProgramFiles/IDM Computer Solutions/UEStudio/ucl.exe"
REM Subversion provides the paths we need as the sixth and seventh
REM parameters.
SET LEFT=%6
SET RIGHT=%7
REM Call the diff command (change the following line to make sense for
REM your merge program).
%DIFF% --left %LEFT% --right %RIGHT%
REM Return an errorcode of 0 if no differences were detected, 1 if some were.
REM Any other errorcode will be treated as fatal.
D:/workbench/test/testrep>svn diff --diff-cmd="D:/ProgramFiles/IDM Computer Solutions/UE
Studio/uestudio.exe" -r 1:20 src/parameter.properties
第二种方式是在%APPDATA%/subversion/config文件中配置,配置内容如下:
diff-cmd =D:/svn_repository/DIFF.BAT
DIFF.BAT内容如下:
@ECHO OFF
REM Configure your favorite diff program here.
SET DIFF="D:/ProgramFiles/IDM Computer Solutions/UEStudio/ucl.exe"
REM Subversion provides the paths we need as the sixth and seventh
REM parameters.
SET LEFT=%6
SET RIGHT=%7
REM Call the diff command (change the following line to make sense for
REM your merge program).
%DIFF% --left %LEFT% --right %RIGHT%
REM Return an errorcode of 0 if no differences were detected, 1 if some were.
REM Any other errorcode will be treated as fatal.
相关文章推荐
- Windows下给SourceTree配置外部比较工具BeyondCompare
- VSS、CVS、SVN和ClearCase等配置工具的评估和比较
- VSS、CVS、SVN和ClearCase等配置工具的评估和比较
- SVN配置使用BeyoundCompare作为比较合并工具
- SVN把BCompare.exe设为外部的比较工具。
- mac下source tree配置外部比较工具beyond compare
- 常用配置管理工具比较
- SVN版本控制工具的安装和配置
- eclipse配置外部工具利用javah一键生成头文件
- Git 集成 Araxis Merge 作为比较和合并GUI工具的配置
- eclipse配置外部工具利用javah编译生成头文件
- spring cloud config server使用svn来作为外部配置中心
- zend studio 使用SVN配置工具
- Mac下SVN工具修改了的文件不能比较解决方法
- 在RedHat AS 下安装配置SVN管理工具,使用SVN访问
- 注册表比较工具1 :RegShot尝试运用到安全测试中 --01 工具配置( 续)
- SVN服务端的两中配置方式比较
- eclipse配置外部工具利用javah编译生成头文件