After many happy commits to my svn repo, all of the sudden the relationship went sour...svn flipped her lid and yelled: "Working copy text base is corrupt!"
What could have caused this? How do I fix it?
Working copy text base is corrupt
svn: Commit failed (details follow):
svn: Checksum mismatch for '~/blah/.svn/text- base/sumonet.py.svn-base'; expected: '548b9bb4b24bc580ab8694c583b28013', actual: '8b2b3cf4615de3d8520ae4841b3b0a8b'
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:
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.
This works for me:
svn rm --keep-local THE_CORRUPTED_FILE
svn add THE_CORRUPTED_FILE
svn ci
Just make a separate fresh checkout and copy the changes you made in that old working copy to the new one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With