More posts about: development Tags: subversion, svn // 17 Comments »
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
- 29 April 2009 at 4:04am
- Restoring deleted files from an SVN repository « simonwheatley.co.uk 09 December 2010 at 3:12pm
- SVN: restore deleted files | physiophile
[...] play ball, and returned path not found. More googling ensued and pgier, commenting ...
[...] links: http://sachachua.com/blog/2008/09/subversion-restore-deleted-files/ ...