svn的svn非LF行结束问题:转储加载时忽略 [英] Svn non-LF line ending problems with svn:ignore on dump load
问题描述
我正在尝试使用转储文件将运行svn版本1.2.3的系统上的存储库(具有完整的历史记录)迁移到运行1.7.1的系统上.由于原始存储库是这样的早期版本,因此不能直接使用svnrdump
.我使用了svnadmin dump
,然后将(8 GB)转储文件移至1.7.1系统.但是,当我从那里使用svnrdump load
命令时,经过231次修订后,出现以下错误
I'm trying to use dump files to migrate a repository (with history intact) on a system running svn version 1.2.3 to one running 1.7.1. Since the original repository is such an early version, using svnrdump
directly is not an option. I used svnadmin dump
and then moved the (8 GB) dump file to the 1.7.1 system. However, when I use the svnrdump load
command from there, after 231 revisions, I get the following error
svnrdump: E125005: Cannot accept non-LF line endings in 'svn:ignore' property
我尝试从修订版231中删除svn:ignore
属性,以及svn2svn之类的多个第三方应用程序(都使用身份验证,因此没有骰子)都无济于事.和svndumptool eolfix
/svndumptool copy
(显然仅适用于.txt文件).
I've tried removing the svn:ignore
property from revision 231 to no avail, as well as multiple third-party applications like svn2svn (we use authentication, so no dice). and svndumptool eolfix
/svndumptool copy
(only works on .txt files, apparently).
最初,我对'svn:log'revprop进行了11次修订后,得到了类似的错误,该错误是通过运行dos2unix
(甚至对其进行更多处理)然后使用脚本/手动修复了svnadmin dump
失败的每个文件来修复的在.
Originally I was getting a similar error after 11 revisions on the 'svn:log' revprop which I fixed by running dos2unix
(broke it even more) and then using a script/manually fixing each file that svnadmin dump
failed on.
我对两个系统的两个仓库/超级用户都具有管理员访问权限(unix,不确定是哪个发行版).这是一个旧的,目前被认为是未使用的存储库,我们希望将其保存以防万一再次需要某些项目.同样,使用svnadmin load
布局新存储库的方式非常复杂. svn:ignore错误有简单的解决方法吗?还是更简单的方法来移动整个内容?
I have admin access to both repos/root access to both systems (unix, not sure what distro). This is an old, currently believed to be unused repository that we want to save just in case some of the projects are needed again. Also, the way the new repositories are laid out using svnadmin load
is very complicated. Is there an easy fix for the svn:ignore error? Or an easier way to move the whole thing?
谢谢
推荐答案
您应使用:
svndumptool eolfix-prop svn:ignore
代替:
svndumptool eolfix
这篇关于svn的svn非LF行结束问题:转储加载时忽略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!