如何降级 Subversion 存储库的格式? [英] How can I downgrade the format of a Subversion repositiory?

查看:38
本文介绍了如何降级 Subversion 存储库的格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以对 Subversion 存储库进行向下格式化以避免出现这样的消息:

<前>svn:存储库的预期格式3";找到格式5"

当您从多台机器访问存储库时会发生这种情况,并且您无法在所有这些机器上使用一致的 Subversion 版本.

更糟糕的是,在不同的服务器上有多个不同格式的存储库,我不能随意升级其中的一些服务器.~~~

解决方案

如果您不能在所有机器上使用相同版本的 Subversion,那么您应该设置一个服务器进程(svnserve 或 Apache)并访问存储库只能通过服务器.服务器可以在不同版本的 Subversion 之间进行调解;只有当您使用直接存储库访问时才会遇到此问题.

如果服务器的版本比当前存储库格式旧(我不推荐),那么您需要使用较新版本导出存储库并使用旧版本导入.

Is there any way to down-format a Subversion repository to avoid messages like this:

svn: Expected format '3' of repository; found format '5'

This happens when you access repositories from more than one machine, and you aren't able to use a consistent version of Subversion across all of those machines.

Worse still, there are multiple repositories with various formats on different servers, and I'm not at liberty to upgrade some of these servers. ~~~

解决方案

If you can't use the same version of Subversion across all machines, then you should set up a server process (either svnserve or Apache) and access the repository only through the server. The server can mediate between different versions of Subversion; it's only when you're using direct repository access that you run into this issue.

If the server will be an older version than the current repository format (which I don't recommend), then you'll need to export the repository using the newer version and import it using the older version.

这篇关于如何降级 Subversion 存储库的格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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