1
2
3
4
5
# revert all edited
svn st -q | awk '{print $2;}' | xargs svn revert

# Remove all new files (after you reverted):
svn st | awk '{print $2;}' | xargs rm