SVN错误:预期fs格式介于'1'和'3'之间;找到格式"4" [英] SVN Error: Expected fs format between '1' and '3'; found format '4'

查看:127
本文介绍了SVN错误:预期fs格式介于'1'和'3'之间;找到格式"4"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这就是我所做的,我已经安装了svnserve作为服务,并使用 net start svn service 命令启动了它.我输入了 svn ls svn://localhost 来测试服务,但它返回了错误的信息,如本文标题所述.

Here's what I did, I have installed svnserve as a service and I started it with the net start svn service command. I typed svn ls svn://localhost to test the service but it returned the error as stated in the title of this post.

我在计算机上输入了 svn --version svnserve --version 来找出版本号,并且客户端和服务器版本相同,即1.5版.6.我猜错误是由于服务器和客户端的版本不同而出现的.

I entered svn --version and svnserve --version on my computer to find out the version numbers and the client and the server version is the same, version 1.5.6. I'm guessing the error appears due to different versions of the server and the client.

当我在cmd中使用 svnserve --daemon --root 命令启动服务器时,错误仍然出现.

When I start the server using svnserve --daemon --root command in cmd, The error still appears.

为什么会出现错误?谢谢

Why does the error appear? Thanks

推荐答案

您使用了哪个Subverson工具创建资源库? TortoiseSVN?您的TortoiseSVN可能是更新的1.6.x版本,然后是1.5命令行客户端和svnserve,因此svnserve 1.5.x无法提供1.6.x存储库.

Which Subverson tool did you use to create the repository? TortoiseSVN? Your TortoiseSVN may be newer, a 1.6.x release, then your 1.5 command line client and svnserve, so svnserve 1.5.x cannot serve a 1.6.x repository.

在用svnadmin 1.6.1创建的fsfs存储库中,db/format文件包含

In my fsfs repository created with svnadmin 1.6.1, the db/format file contains

$ cat repos/db/format 
4
layout sharded 1000

这篇关于SVN错误:预期fs格式介于'1'和'3'之间;找到格式"4"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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