svnlook: Expected FS format ‘2’; found format ‘4’

原来在fc12安装的svn是:
[deli@athena ~]$ rpm -qa|grep subversion
subversion-javahl-1.6.13-1.fc12.1.i686
subversion-libs-1.6.13-1.fc12.1.i686
subversion-1.6.13-1.fc12.1.i686

将旧的代码仓库数据移到新的服务器,装的是 rhel 5.4, svn手动安装 subversion-1.6.9。
可以 update,但提交代码时发现:

svnlook: Expected FS format ‘2’; found format ‘4’

也是同样的 svn版本,可能新的服务器是64位。只好先把svn降级了。

mv resp resp_bak.20110121
svnadmin create --pre-1.5-compatible resp
svnadmin dump resp_bak.20110121 |svnadmin load resp
svnserve -d -r /var/svn/web/resp

重新 commit, ok.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Leave a Reply

Your email address will not be published. Required fields are marked *