svn: bring back deleted file
February 24, 2012 12:42:09 Last update: February 24, 2012 12:43:00
Use the
You can use the
copy command to restore a deleted file:
$ svn copy http://svn.example.com/path/to/svn/repository/src/main/webapp/home.xhtml@918 src/main/webapp/ A src/main/webapp/home.xhtml
@revision must be a revision number before the file was deleted.
You can use the
info command to view the info before restoring:
$ svn info http://svn.example.com/path/to/svn/repository/src/main/webapp/home.xhtml@918