SVN迁移/转储本地TortoiseSVN存储库
我已经使用上下文菜单命令“在此处创建存储库”在 Windows 资源管理器中使用 TortoiseSVN 在 Windows NAS 上创建了一个 SVN 存储库。现在我想将此存储库迁移到 Debian 上 Apache 服务器上正确的 SVN 安装中。事实上,它就是现在存储存储库的同一台计算机,因为 Linux 服务器也充当 Windows NAS(使用 Samba)。
现在,如果我运行 svnadmin dump /path/to/repo >在服务器上运行 dump.bak 时,我收到错误消息:“预期文件系统格式在 1 和 3 之间;找到 4”。
我还没有在我的 Windows 计算机上安装 SVN 或 Apache,并且认为它对我没有多大帮助,因为这种非标准文件系统格式可能是 TortoiseSVN 原生的,对吗?但是,我没有找到直接使用 TortoiseSVN 转储存储库的选项。 有人知道如何做到这一点或者有其他方法来迁移存储库吗?非常感谢您的帮助!
I have created an SVN repository on a Windows NAS with TortoiseSVN in Windows Explorer using the context-menu command "Create repository here". Now I want to migrate this repository into a proper SVN installation on an Apache Server on Debian. It is in fact the same computer where the repository is stored right now because the Linux server also acts as a Windows NAS (with Samba).
Now, if I run svnadmin dump /path/to/repo > dump.bak
on the server, I get the error message: "Expected File System Format between 1 and 3; found 4".
I haven't installed SVN or Apache on my Windows computer and figure it wouldn't help me much because this non-standard File System Format is probably native to TortoiseSVN, right? However, I don't find an option to dump the repository directly with TortoiseSVN.
Does someone know how to do that or is there another way to migrate the repository? Thanks a lot for your help!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为这正是您想要的 SVN 错误:预期的 fs 格式介于“1”和“3”之间;找到格式“4”
I think this is exactly what you want SVN Error: Expected fs format between '1' and '3'; found format '4'
您的 Tortise SVN 工具可能创建了版本 4 存储库,而 svnadmin 工具来自旧版 SVN 安装,它只能识别版本 1 到 3。
升级您的 svnadmin 工具。
所有 SVN 工具 TortiseSVN、svnadmin 等都使用相同的核心库来访问存储库,但它们在特定的(通常是不同的)时间发布。如果您使用在新存储库修订版之前发布的工具,则使用 SVN 该工具会报告无法读取较新存储库的错误(而不是弄乱您的较新修订存储库)。
Your Tortise SVN tool probably created a version 4 repository, and the svnadmin tool came from an older installation of SVN which only understands versions 1 through 3.
Upgrade your svnadmin tool.
All SVN tools TortiseSVN, svnadmin, etc. use the same core libraries to access repositories, but they are released at specific (and often different) times. If you use a tool which was released before the new repository revision was made, with SVN the tool reports an error that it cannot read the newer repository (instead of messing up your newer rev repository).