该客户端太旧,无法使用工作副本 [英] This client is too old to work with working copy

查看:264
本文介绍了该客户端太旧,无法使用工作副本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Google上的每个地方,我都对这个问题有相同的答案,但这对我来说是错误的答案.最初,我在服务器上为Windows安装了Subversion 1.5.6(运行Windows Server 2008),并为项目创建了存储库.然后,我在笔记本电脑上使用了Tortoise客户端1.6.X版来更新项目.直到我尝试使用提交后的钩子脚本为止,一切都是笨拙的(我在提交时更新wwwroot中的文件夹以反映网页上的更改).我收到一条消息,提示此客户端太旧,无法使用工作副本'XXX'".

Everywhere I go on google I get the same answer to this problem but it is the wrong answer for me. Originally I installed Subversion 1.5.6 for windows (i run Windows Server 2008) on my server and i made a repository for a project. Then I used a Tortoise client version 1.6.X on my laptop to update the project. Everything was hunky-dory until I tried to use a post-commit hook script (i am updating folders in wwwroot on commit to reflect changes on a web page). I got a message to the effect of "This client is too old to work with working copy 'XXX'".

因此,我在笔记本电脑上卸载了SVN客户端,并从服务器上删除了存储库.然后,我从头开始在服务器上创建了一个新的存储库,并安装了TortoiseSVN 1.5.6版,以为客户端版本与服务器上的Subversion相同,那么它们应该表现得很好.在我再次将存储库下载到笔记本电脑上并重新安装了钩子脚本之后,我得到了相同的消息...

So I uninstalled the SVN client on my laptop and removed the repository from the server. I then made a new repository on the server from scratch and installed TortoiseSVN version 1.5.6 thinking if the client version is the same as the Subversion on the server then they should play nice. After i downloaded the repository on my laptop again and reinstalled my hook script I get the same message...

必须不断清除我的存储库并重新安装我的客户端,以找到通过反复试验而合作的客户端,这是非常艰苦和破坏性的.我没有理由(也找不到在线内容)来说明为什么存储库会争论TortoiseSVN和我的服务器Subversion都是1.5.6.

It is quite painstaking and disruptive to have to keep obliterating my repositories and reinstalling my client to find ones that co-operate through trial and error. I see no reason (and can find none online) as to why the repository would argue if both TortoiseSVN and my server Subversion are both 1.5.6.

有没有人可以向我提供为什么我会收到此消息的见解?也许甚至有人可以让我知道我需要使用哪个版本的TortoiseSVN才能使我的Server SVN 1.5.6不再抱怨.我的钩子脚本是从服务器上的命令行运行的,所以我知道这不是故障.预先感谢.

Is there anyone out there that can give some insight as to why I would be getting this message? Perhaps even someone who could let me know what version of TortoiseSVN I need to use in order for my Server SVN 1.5.6 to not complain. My hook script works from the command line on my server so I know it's not it's fault. Thanks in advance.

推荐答案

事实证明,我的SVN服务器版本为1.5.6,但我在服务器上安装的TortoiseSVN客户端的版本为1.6.3.当我结帐我的wwwroot工作副本(或使用TortoiseSVN给我的右键单击选项更新它)并更新该工作副本的版本时,SVN服务器无法更新它,因为它是较低版本.

It turns out my server version of SVN was 1.5.6, but the TortoiseSVN client I had installed on the server was version 1.6.3. When I would checkout my wwwroot working copy (or update it using the right click options TortoiseSVN gave me) and updated that working copy's version, the SVN server couldn't update it because it was a lower version.

我从河马文件中下载了TortoiseSVN 1.5.6,然后在服务器上重新签出了工作副本,一切正常!

I downloaded TortoiseSVN 1.5.6 from file hippo and re-checked out the working copy on the server and it all worked great!

这篇关于该客户端太旧,无法使用工作副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆