If I want to throw away all of my changes, and return to the code that is on the repository, I do the following:
$ rm -fr * $ svn up
This is ea
To revert modified files:
sudo svn revert svn status|grep "^ *M" | sed -e 's/^ *M *//'