How do I fix SVN ‘Working copy text base is corrupt’?

This was the error.

svn: E155017: Working copy text base is corrupt
svn: E200014: Checksum mismatch for text base of : '/home/.../exampleFileCorrupted.cpp'
....

CLEAR SOLUTION WHICH WORKED FOR ME SMOOTHLY:

ATTENTION: Copy your file in another file outside of the SVN environment.

cp exampleFileCorrupted.cpp ~/Desktop/

then follow below:

  1. cd to the path in which you have the corrupted file
    (which is the one indicated after: Checksum mismatch for text base of)
  2. svn rm –force exampleFileCorrupted.cpp

    You will see : D exampleFileCorrupted.cpp

  3. Copy the file you saved before the point 1 in the SVN folder you are in with :

    cp ~/Desktop/exampleFileCorrupted.cpp .

(Don’t miss the point at the end which means ‘copy here’)

  1. Add to svn with : svn add exampleFileCorrupted.cpp

    You will see : A exampleFileCorrupted.cpp

  2. Commit changes: svn commit -m "Commit Message"

Let me know if this helped.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)