Bringing back a deleted file or directory in svn

svn update -r

brings the file back but for inspection only. It doesn't give option to commit or appear in the actual repository head.

Instead use :

svn copy@revision

eg:

svn copy http://some server.com/svn/trunk/components/com_ukoctraininggrant@1704 components/com_ukoctraininggrant

Tags: svn, unix