How can I fix the SVN import line endings error?

前端 未结 9 1975
名媛妹妹
名媛妹妹 2021-02-05 22:25

I have to import an huge SVN repository that I have to transfer from one server to another. So I exported it from the old server:

svnadmin dump . > archive.sv         


        
9条回答
  •  忘掉有多难
    2021-02-05 22:53

    Have you changed the server version? This is a known issue in 1.6, and causes problems when going from 1.4 or 1.5.

    Subversion 1.6 no longer accepts carriage returns (^M) in property files. You'll need to fix the line breaks in your svn:ignore file(s), or recreate if that's easier.

    Alternatively, you could go for Subversion 1.7, or use uberSVN.

提交回复
热议问题