Subversion: Restore deleted files

Posted: - Modified: | development

If you accidentally delete a file and then commit the change, you can retrieve the file along with the rest of the history by using svn copy to copy it into your working directory. svn copy -r revision-number your-full-repository-path-to-the-file file

UPDATE: pgier suggested svn copy http://svn/url/to/file@revision-number file

Common Use-Cases for Merging

You can comment with Disqus or you can e-mail me at sacha@sachachua.com.