Subversion Tips/Problems

From dis-Emi-A

Jump to: navigation, search

Checksum mismatch

If you have somehow modified the cached version of the repository file you may get errors like this when you try to commit.

svn: Checksum mismatch for '/home/projects/Current/flash/flash/ui/anim/lib/.svn/text-base/PuzzlePiece.ahx.svn-base'; expected '9d7bc6504028ae0e49b0a1e715aecea1', actual: '29ee540840775cf662c8b43c882948b4'

To fix this, for the above example, do this

  1. move offending file to /tmp
  2. edit the entries file in the directory and remove that files entry
  3. retrieve proper version from repository
  4. restore your version
mv flash/flash/ui/anim/lib/PuzzlePiece.ahx /tmp
vi flash/flash/ui/anim/lib/.svn/entries
svn up flash/flash/ui/anim/lib/PuzzlePiece.ahx
cp /tmp/PuzzlePiece.ahx flash/flash/ui/anim/lib/
Personal tools