问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

svnkit is not a working copy 怎么解决

发布网友 发布时间:2022-04-24 06:28

我来回答

1个回答

热心网友 时间:2022-06-16 20:47

SVN:This client is too old to work with working copy…解决方法[OK]

这两天项目提交时候,虚拟机用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.
其实有时候仔细看下报错提示还是很有用的,开始没有仔细看,试着升级SVN,其实是一个错误的方向。
正确的解决办法就是按照提示中的地址有FAQ的解释,可以解决这个问题。

访问地址:
http://subversion.tigris.org/faq.html#working-copy-format-change
官网已经明确说明地址转移了:
http://subversion.apache.org/faq.html#working-copy-format-change

原文如下:
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).
But this automatic upgrade 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.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.py
Run that script with the “–help” option to see how to use it. 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.
举例,在/home/mysvn文件夹下建立好change-svn-wc-format.py文件,然后在该目录下执行:
./change-svn-wc-format.py –help
可以看到命令格式:
usage: change-svn-wc-format.py WC_PATH SVN_VERSION [--verbose] [--force] [--skip-unknown-format]
change-svn-wc-format.py –help
执行命令:
./change-svn-wc-format.py /mulu 1.x –skip-unknown-format

说明:

上面的/mulu为文件路径,1.x为SVN当前版本号,只写2位版本号即可。
如版本为1.5.4,那么这里就写1.5就可以了。至此svn up可以正常执行了。
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
酒驾缓刑节保证书怎么写 合同法律咨询免费 这款充电宝可以带上飞机吗? 倪俊卿成就及荣誉 江苏种牛站有几家? 山东宏正牧业有限公司服务承诺 吃早餐后抽血会影响体检结果吗 电脑如何设置护眼模式(台式电脑如何设置护眼模式) 电脑显示器设置护眼电脑屏幕怎么设置比较护眼 广告机是否支持分屏显示功能? svn如何设置svn:ignore 请教SVN服务器的问题 svn is not a working copy 怎么解决 sqlite数据库打不开unable to open database file,该怎么解决 AnkhSVN是做什么的 到底怎么用?还有旗舰版的vc2010真的有2.5g??如何破解啊? 编译器出现The target out of date是什么原因 Commit failed (details follow): File '/Users/Leejay/Desktop/boyue-iOS/.git/index' is out of date 如何把ios代码放在svn服务器 Item is out of date svn: Item '/wyb/wyb/WebRoot/WEB-INF/res/site/wedding/edi 使用SVN提交文件时,报错! 请教svn file out of date的解决办法 svn删除目录后提交显示Item 'XXXX' is out of date解决方法 svn总提示out of date,是怎么回事? 漫展cos什么好 潋玉缘的COS记录 北京有专卖地狱少女周边的店吗?哪里可以买到地狱少女全集的DVD9或者蓝光? 麒麟君的coser麒麟君 农保卡可以在异地医院直接使用吗 女173cm 59公斤的样子 胖吗 能不能cos男性的角色? 农保医保卡异地激活 python如何获取svn路径是文件还是文件夹 孩子上户口超过三个月会罚款多少 如何将SVN的版本库通过git导出代码 SVN 代码提交时处错误。出了如下的错误,怎么解决? 小孩三岁上户口晚了罚款吗 孩子上户口超过三个月会罚款多少啊 孩子出生三年了还没上户口会罚款吗? 新生儿上户口超过期限是要罚款吗 宝宝上户口迟了会被罚款吗? 新生儿上户口延迟一年多需要罚款吗 小孩晚两年办户口会不会罚钱 孩子必须三个月之内上户口吗?不然就会罚款吗 深圳新生儿上户口,有时间限制吗? 最晚多长时间?超期的罚款是多少? 办户口晚要罚款吗 晚上户口需要罚款吗? 老街冰棍儿化了之后可以做什么? 一堆冰棍融化了怎么办?能做成其他什么东西吗?或者掺在一起做成桶装的? 雪糕化啦可以在动成原来的样子吗? 雪糕化掉能蒸馍头吗? 可以用融化的雪糕做蛋糕吗?