svnfsfs

Subversion Can't read length line in file


When I commit I had no error. Now I tried to check out and I got this error

Can't read length line in file 'c:\svn\db\revs\0\14'

I have tried older revision it doesn't work either. Does it mean I lost everything in subversion ?


Solution

  • I had the same problem and here is simple fix I found without administering the SVN repository.

    1. the error was produced by a specific file that I had to commit.
    2. I committed all other changed files Ok
    3. I copied the local file to the desktop as a backup
    4. SVN->Delete file
    5. commit the folder. It was successful
    6. added the file from the desktop in the local folder
    7. svn -> add, svn->commit

    problem fixed. I think this way you loose the previous versions of the file from the repository but this was not a problem for me.

    Hope this info can help you.