Svn non-LF line ending problems with svn:ignore on dump load

我与影子孤独终老i 提交于 2019-12-10 19:17:48

问题


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

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).

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.

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?

Thanks


回答1:


You should use: svndumptool eolfix-prop svn:ignore

instead of: svndumptool eolfix



来源:https://stackoverflow.com/questions/11638380/svn-non-lf-line-ending-problems-with-svnignore-on-dump-load

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!