2009-09-30

Making Subversion Behave

I'm not sure why but, for some reason I've been having issues with Subversion; the error message is meaningless... since the working copy is completely up to date, cleanup, update, replace with, etc... none of that helps:

svn: File or directory 'somefile' is out of date; try updating

The solution is to trash the all-wcprops cache within the parent's .svn folder... but you often need to do this multiple times, the solution:

find . -name all-wcprops -type f -print0 | xargs -0 rm

It would be much better to just switch to Git :)