svn: E180001: Unable to open an ra_local session to URL问题解决方案

在eclipse下使用svn时,总是报这个错误:

Share project was failed.

svn: E180001: Unable to open an ra_local session to URL
svn: E180001: Unable to open repository 'file:///H:/Repository/MobileApplications/Android/Application/Source'

svn: E160043: Expected FS format between '1' and '5'; found format '6'.


首先吐槽一下百度!找了几个小时都没有一个有用的答案!坑爹!

然后终于在stackoverflow上找到了答案

原文链接:

http://stackoverflow.com/questions/17278061/svn-e180001-unable-to-open-an-ra-local-session-to-url

答案原文如下:

This Error said that FS format between SVN server(TortoiseSVN) and SVN client (Eclipse SVN plugin) is not equal. To fix this problem, go to repository path and change format version number.
The format file contain FS format version number:

x:\repos\db\format

6
layout sharded 1000

Replace 6 with 5 .



本人翻译如下:

这个错误是由于SVN server(TortoiseSVN) 和 SVN client (Eclipse SVN plugin)的 FS 格式不匹配,去你的svn文件夹里找到这个x:\你的svn文件夹\db\format文件,记事本打开,将6改为1至5之间的一个数,建议改为5.


但是我在修改format文件夹时发现它是不允许修改的,然后各种百度(因为谷歌host刚好今天失效)又是各种坑,然后我就尝试了如下方法,终于修改成功了:


把format文件夹复制到桌面,在桌面修改后点击保存——>选择默认保存为txt文件——>将桌面上的format删除——>将刚刚保存下来的format.txt文件去掉后缀名变成format文件——>将该format文件替换掉 x:\你的svn文件夹\db\format文件——>OK了



评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值