How do I fix SVN 'Working copy text base is corrupt'?
Just make a separate fresh checkout and copy the changes you made in that old working copy to the new one.
This works for me:
svn rm --keep-local THE_CORRUPTED_FILE
svn add THE_CORRUPTED_FILE
svn ci
- Copy problematic file in other place,
- Delete and commit file in repository,
- Copy your file into SVN and commit
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:
- cd to the path in which you have the corrupted file (which is the one indicated after: Checksum mismatch for text base of)
svn rm --force exampleFileCorrupted.cpp
You will see : D exampleFileCorrupted.cpp
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')
Add to svn with :
svn add exampleFileCorrupted.cpp
You will see : A exampleFileCorrupted.cpp
Commit changes:
svn commit -m "Commit Message"
Let me know if this helped.