My goal is to transfer old SVN repositories from a Windows VisualSVN server to a Linux Apache SVN server. The first step was to make a dump of all the repositories with the svnadmin dump command. After that I loaded those dumps into my Linux server. There were no errors when I imported the repositories. However, for some files I get a 500 internal server error when committing changes in them.
To check what is wrong, I opened some of the files that generated the error into my web browser. I found out that several last lines from these files are corrupted. There is no data lost, but there are strange characters at the end of the file. They are displayed by: “???” in my web browser.
I tried to do multiple exports, but all of the exports will cause the same problem. Is it possible to correct the repository or dump? Do you have any idea how I can prevent this from happening?