Subversion
All things subversion.
Resurrecting Deleted Items
Quite simple, for a single file:
to test:
svn cat -r 4 svn://servername/path/file.ext
pipe that to the old one:
svn cat -r 4 svn://servername/path/file.ext > file.ext
svn status
svn commit -m "resurrected file.ext"
For a complete repository:
Determine the "last good" revision. In this example, it is "4".
svn merge -r 4:HEAD file.ext
Fixes
remove the .svn folders recursively:
find . -name ".svn" -type d -exec rm -rf {} \;
page revision: 8, last edited: 19 May 2009 15:42