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

查看:16
本文介绍了SVN 错误:'1' 和 '3' 之间的预期 fs 格式;找到格式“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 --versionsvnserve --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 错误:'1' 和 '3' 之间的预期 fs 格式;找到格式“4"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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