March 09
Prof. Ismael H. F. Santos                                                                               2
Details: revert
nReverts changes made to a working copy
nReplaces CVS’s idiom of “rm file; cvs update file”
$ svn status
M     ./file2
M     ./moved-dir/file3
$ svn revert --recursive .
Reverted ./file2
Reverted ./moved-dir/file3
$
“svn revert” requires an explicit target, and statement of recursive operation. This is for safety reasons, since changes are discarded.