SVN服务器IP地址发现改变,在Eclipse中的SVN资源库中执行Relocate重定位时发生错误:
mac svn: E210004: Number is larger than maximum
错误原因:服务器的版本比较高,客户端的版本比较低。
解决方案:升级客户端版本与服务器版本相匹配。
Eclipse升级插件版本:
Help》Install new software》
安装:http://subclipse.tigris.org/update_1.12.x
=================================================
查看SVN服务器版本:
在Mac下的方式为:
$ svnserve --version svnserve, version 1.9.5 (r1770682) compiled Mar 8 2017, 11:28:39 on x86_64-apple-darwin16.0.0 Copyright (C) 2016 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository back-end (FS) modules are available: * fs_fs : Module for working with a plain file (FSFS) repository. * fs_x : Module for working with an experimental (FSX) repository. Cyrus SASL authentication is available.
查看SVN客户端版本:
这分为SVN客户端和你所使用的开发工具中的SVN支持插件
在Mac下的方式为:
SVN客户端:
$ svn --version svn, version 1.9.5 (r1770682) compiled Mar 8 2017, 11:28:39 on x86_64-apple-darwin16.0.0 Copyright (C) 2016 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - using serf 1.3.9 (compiled with 1.3.9) - handles 'http' scheme - handles 'https' scheme The following authentication credential caches are available: * Plaintext cache in /Users/aven/.subversion * Mac OS X KeychainEclipse支持插件:
Eclipse》偏好设置()》Team》SVN
可以使用SVNKit,也可以使用JavaHL;
SVNKit是纯Java实现,速度相对慢一些;
JavaHL是native实现,速度相对快一些;
相关阅读:
mac 下配置 svn 开机自启动
Mac OS X 下 Eclipse 安装 SVN 插件 subclipse 及JavaHL 方法 SVN 权限配置详细说明