SVN Clean Local Copy
Alright, it's time to post this. If you're still working in SVN you're life is busy enough as it is. Sometimes I need to be sure my local copy of the code, looks just like the remote copy. SVN doesn't exactly make this easy... Here's the ritual I perform when doing so...
svn revert -R ./ svn update --force #show what's different, but ignore common things svn status | egrep -v "(iml|idea|target$)" #stick awk on the end to remove the rest svn status | egrep -v "(iml|idea|target$)" | egrep "^\?" | rm -rf | sh