You must have used SVN while working in a team on a Java project. In this post, Ill write about 'revert' command.
Let me present a scenario. You made some changes in a class and now you realize that the changes are not required/not correct. You wish to discard your changes. You have to use svn revert to discard your changes. Java Code: $ svn revert foo.java
Following switches are available: Java Code: --targets
$ svn revert foo.java