by, 06-02-2011 at 07:16 PM (1991 Views)
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.
Following switches are available:Java Code:$ svn revert foo.java Reverted foo.java
Do note that if you donít provide targets to svn revert, it will do nothing.Java Code:--targets FILENAME --recursive (-R) --quiet (-q) --config-dir DIR