*** 1.7.x 需要升级原先 1.6.x 的工作库后才能正常工作,参见下面的例子 ***
CollabNet 官方提供的用于 linux 的 Subversion 客户端。
安装目录是在 /opt/CollabNet_Subversion 下。
建议为 svn 创建软连接:
ln -s -f /opt/CollabNet_Subversion/bin/svn /usr/bin/svn
下面是 1.7.2 在 CentOS 5.7 下运行的示例:
[root@centos bin]# uname -sr
Linux 2.6.18-274.12.1.el5
[root@centos bin]# svn --version
svn,版本 1.7.2 (r1207936)
编译于 Dec 2 2011,15:21:13
[root@centos bin]# svn status -q /
svn: E155036: 请参阅命令 'svn upgrade'
svn: E155036: 工作副本 '/' 格式太旧 (格式 10, Subversion 1.6 创建)
升级 svn 1.6 工作库格式
[root@centos bin]# svn upgrade /
Upgraded '/'
Upgraded '/var'
Upgraded '/var/lib'
Upgraded '/var/lib/asterisk'
Upgraded '/var/lib/asterisk/moh'
Upgraded '/var/lib/asterisk/sounds'
Upgraded '/var/lib/asterisk/sounds/zh_CN'
Upgraded '/var/lib/asterisk/sounds/en'
Upgraded '/usr'
Upgraded '/usr/lib'
Upgraded '/usr/lib/oracle'
Upgraded '/etc'
Upgraded '/etc/profile.d'
Upgraded '/etc/asterisk'
Upgraded '/etc/dahdi'
[root@centos bin]# svn status -q /
! /
M /etc/odbc.ini
M /etc/profile.d/env.sh
M /etc/asterisk/res_odbc.conf
M /etc/asterisk/func_odbc.conf
M /etc/asterisk/extensions.conf