1、svn 遇到的问题
出现问题之前:
a、构建服务器上原本的 SubVersion svn(Version Control with Subversion [),版本号:1.7.0(只支持命令行)。
b、为了使用便利,安装一个可视化svn client: TortoiseSVN , 版本号:1.8
TortoiseSVN
A Subversion client for Windows
Version 1.8
出现问题:
这两天自动构建提交项目时候,虚拟机用SVN提交的时候,总是报如下提示:
svn: This client is too old to work with working copy ‘/opt/gforge/www/account’. You need
to get a newer Subversion client, or to downgrade this working copy.
See http://subversion.tigris.org/faq.html#working-copy-format-change
for details.
2、原因:
由于使用高版本的TortoiseSVN提交过代码,导致.svn目录,里面保存着svn需要的一些版本信息,用TortoiseSVN去操作,会在.svn里增加一些文件,
但是另一个svn客户端(SubVersion)不能识别这些新增的文件,所以在命令行不能使用 svn(虽然 TortoiseSVN也支持命令行,但是环境变量配置的是SubVersion的路径。)
参考:http://sducxh.iteye.com/blog/589136
官方解释:http://subversion.apache.org/faq.html#working-copy-format-change
I got an error saying "This client is too old to work with working copy '...' ". How can I fix it without upgrading Subversion?
Sometimes the working copy metadata format changes incompatibly between minor releases. For example, say you have a working copy created with Subversion 1.4.4, but one day you decide to try out Subversion 1.5.0. Afterwards, you attempt to switch back to 1.4.4, but it doesn't work — it just gives the above error.
This is because 1.5.0 upgraded your working copy format to support some new features (in this case, changelists, the keep-local flag, and variable-depth directories). Although 1.4.4 doesn't know anything about these new features, it can at least recognize that the working copy format has been upgraded to something higher than it can handle.
1.5.0 upgraded the working copy for a good reason: it realizes that 1.4.4 does not know about these new features, and that if 1.4.4 were to meddle with the working copy metadata now, important information might be lost, possibly causing corruption (see issue #2961, for example).
Subversion 1.7.0 and newer will not upgrade working copies unless you explicitly ask them to do so. (Upgrading the working copies is, however, required; Subversion 1.7.0 cannot operate on working copies created or used by earlier Subversions.)
Subversion 1.6.x and earlier automatically upgrade working copies when they first touch them. This behavior can be annoying, if you just want to try out a new release of Subversion without installing it permanently. For this reason, we distribute a script that can downgrade working copies when doing so is safe:
http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py
Run that script with the "--help" option to see how to use it. (It can downgrade 1.6.x working copies to formats usable by Subversion 1.4.x and 1.5.x, but cannot downgrade 1.7.x working copies.)
As future versions of Subversion are released, we will try to keep this FAQ entry up-to-date with potential downgrade scenarios and their implications.
解决:将SubVersion 的版本升级到和 TortoiseSVN 的版本一致(1.8.x,x任意都行)。
PS:SVN是一套规范联盟,每个大版本(例如:1.4,1.5,1.6,1.7,1.8)的规范都是固定的,即大版本中的各个小版本的规范相同,而SubVersion 和 TortoiseSVN 都遵守规范。
相关推荐
This client is too old to work with working copy 'D:\MyEclipseWorkspace\projectName\WebRoot\WEB-INF\lib'; please get a newer Subversion client. 估计是不经意中使用了1.6.5做了提交导致的问题。 官方...
NULL 博文链接:https://linwei-211.iteye.com/blog/1667724
NULL 博文链接:https://ayanline.iteye.com/blog/980831
svn:the client is too old
SVN:This client is too old to work with working copy…解决办法 .txt 1、cmd进入py文件目录下执行py文件加入--help查看帮助,命令C:\change-svn-wc-format>change-svn-wc-format.py --help 2、cmd执行下面命令...
1.将sqlite3.exe放到.svn的同级目录 2.启动cmd执行sqlite3 .svn/wc.db 3. "select * from work_queue"; 4. delete from work_queue; 5.svn目录下右键:TortoiseSVN->Clean up
Web Client for SVN by Polarion This enhanced Subversion web client has everything you need to interact with your Subversion repository using a web browser. (Free product)
myeclise10 svn: E210004: Number is larger than maximum 解决方案 专门解决win7 64位操作系统 下svn插件问题
myeclise10 svn: E210004: Number is larger than maximum 解决方案 专门解决win7 64位操作系统 下svn插件问题。 下载文件包括: site-1.8.22.zip --->svn离线安装包 Slik-Subversion-1.8.9-x64 --->问题修复必选...
华为工具SVNClient华为SVNclient特意分享出来
VSS2SVN is a simple utility project that aims to help migrate the contents of a source safe database to subversion. To do that, VSS2SVN uses two key assemblies: The Microsoft sourcesafe interop ...
mac华为SVNClient 对应window的QuidwayCLient 客户端
sqlite3(解决svn不能clean up问题)
华为SVNClient for windows
华为 SVN Client PC客户端软件。SVN Client是著名的集中式项目管理工具,可以满足项目团队友好的管理项目文档、代码、工具等,用户只要知道项目的地址、用户名、密码,即可与SVN Server进行项目的提交、更新、清除等...
解决SVN上传提示Empty directoriesis not supported 解决SVN上传提示Empty directoriesis not supported
SVN版本控制原理SVN版本控制原SVN版本控制SVN版本控制原理原理理SVN版本控制原理
RapidSVN:轻量级、可视化SVN客户端RapidSVN_0.13.0.8249_PortableSoft
当更新SVN时,出现Failed to run the WC DB work queue
svn版本之间的合并问题