I suddenly get this weird problem in svn when I try to commit my changes:
svn: Checksum mismatch for '.svn/text-base/functions.php.svn-base'; expected: 'ba2ac9223860c647c8478ffd1ace154e', actual: 'd2ba75aff51148f535fb4ac77b0333fa'
Any idea how I can fix it?
I've had this problem before. Subversion is really a pain in the ass sometimes.
The solution is to checkout a fresh copy of your repository and copy the new and valid text-base file to your project's text-base directory. Here's an example (assume the repository is called 'project' and your code lives in /home/username/project):
cd /tmp svn co https://path-to-your-repository/project cd /home/username/project chmod +w .svn/text-base/functions.php.svn-base cp /tmp/project/.svn/text-base/functions.php.svn-base .svn/text-base/ chmod -w .svn/text-base/functions.php.svn-base
Nice, that seemed to fix my problem. Thanks!
Does anyone know why this problem occurs though?