To restore a file or folder from a previous revision (that has been deleted or modified):
svn cp svn://path/to/folder/or/file@rev /path/to/dest
The source has to be the full URI to the file or folder you wish to restore and the destination can simply be ‘.’ (this folder).