`
hold_on
  • 浏览: 455659 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

SVN版本问题:This client is too old to work with working copy

 
阅读更多
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 都遵守规范。 
分享到:
评论

相关推荐

    svn: This client is too old to work with

    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做了提交导致的问题。 官方...

    Myecllpse SVN 插件svn: This client is too old to work with working copy

    标题 "Myeclipse SVN 插件svn: This client is too old to work with working copy" 提到的问题,通常出现在用户尝试使用较旧版本的Subversion(SVN)客户端操作一个由新版本Subversion创建或更新的工作副本时。...

    This client is too old to work with working copy 'H:\\WEB\\workspace\\Square\\WebCon

    标题 "This client is too old to work with working copy 'H:\\WEB\\workspace\\Square\\WebCon'" 提示了一个常见的Subversion(SVN)错误,通常在使用较旧版本的SVN客户端尝试访问或操作使用新格式版本控制的工作...

    svn:the client is too old

    参考"SVN:This client is too old to work with working copy…解决办法 .txt"文件,按照其中的指南进行操作。 5. **使用`svn upgrade`命令**:在命令行中,导航到你的工作副本目录,并运行`svn upgrade`命令。这...

    change-svn-wc-format

    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执行下面命令...

    SVN各种错误提示产生原因及处理方法大全

    6. svn: This client is too old to work with working copy '.'. You need to get a newer Subversion client, or to downgrade this working copy. 该错误提示的原因是安装了多个版本的 SVN 客户端,且各个客户端...

    SVN常见的错误及解决方法

    6. **错误信息:This client is too old to work with working copy** 当安装了多个版本的SVN客户端,且版本不一致时,会出现此问题。为了解决这个问题,需要确保所有客户端都升级到同一版本,或者删除旧版本的...

    解决svn update:Failed to run the WC DB work queue associated with 错误的解决

    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

    华为SVNClient

    在使用华为SVNClient时,可能会遇到版本冲突、权限问题等,这些问题通常可以通过冲突解决工具、调整权限设置等方式解决。同时,华为SVNClient可能提供了相应的故障排查和日志记录功能,帮助用户定位和解决问题。 ...

    华为SVNClient for windows

    华为SVNClient是一款专为Windows操作系统设计的Subversion(SVN)客户端工具,它提供了高效、稳定的版本控制系统,帮助用户管理和协作开发项目。Subversion是一个开源的版本控制系统,用于跟踪文件和目录的更改,...

    SVN时,出现Failed to run the WC DB work queue的解决办法

    在使用Subversion(SVN)版本控制系统的过程中,有时会遇到“Failed to run the WC DB work queue”的错误提示,这通常是由于工作副本(Working Copy)数据库出现问题导致的。SVN使用SQLite3作为其本地数据库来存储...

    SVNClient华为工具

    SVN的核心概念包括仓库(Repository)、工作副本(Working Copy)和提交(Commit)。仓库是存储所有项目文件的中心位置,而工作副本则是开发者在本地计算机上的项目拷贝,可以在此进行编辑。提交操作将本地更改同步...

    svn web客户端工具:Web Client for SVN by Polarion

    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)

    mac华为SVNClient

    【mac华为SVNClient】是华为公司在Mac操作系统上推出的一款版本控制系统客户端,它相当于Windows平台下的QuidwayClient。SVN(Subversion)是一种广泛应用于软件开发中的版本控制系统,用于管理文件和目录的历史版本...

    myeclise10 svn: E210004: Number is larger than maximum 解决方案

    myeclise10 svn: E210004: Number is larger than maximum 解决方案 专门解决win7 64位操作系统 下svn插件问题

    SVN在客户端执行UPDATE报locked的处理办法

    Working copy 'D:\svn_repository\cmout\cm\SVN\SVN客户端\TortoiseSVN\download' locked Please execute the "Cleanup" command. ``` 此错误意味着SVN的工作副本被锁定,无法完成更新操作。 #### 原因分析 工作...

    SVN Client.zip

    2. **工作副本(Working Copy)**:当用户从版本库检出代码时,会得到一个工作副本,这个副本包含了所有文件和目录的当前状态。用户可以在本地修改这些文件,然后将更改提交回版本库。 3. **提交(Commit)**:当你...

    myeclise10之svn:E210004错误解决

    myeclise10 svn: E210004: Number is larger than maximum 解决方案 专门解决win7 64位操作系统 下svn插件问题。 下载文件包括: site-1.8.22.zip --->svn离线安装包 Slik-Subversion-1.8.9-x64 --->问题修复必选...

    常见SVN错误处理大串讲

    - 确认SVN服务器URL正确无误,例如应使用 `svn://192.168.6.200/` 而不是 `svn://192.168.6.200`。 - 检查网络连接状态。 - 重启SVN服务器或联系管理员确认服务器状态。 #### 错误三:`Add后未Commit,文件仍...

    转svn-E170001报错的原因以及解决方案.docx

    svn-E170001报错是指在使用Jenkins配置svn拉取项目时出现的一种错误,错误信息为svn: E170001。该错误的出现是由于svn账户名和密码没有权限所导致的。 svn-E170001报错的原因: 1. svn账户名和密码没有权限:svn...

Global site tag (gtag.js) - Google Analytics