Wednesday, January 20, 2010

Recovering a deleted file from Subversion

You need to point at the repository, not the checked out copy. Something like:

svn copy file:///var/local/svn/myrepo/trunk/files/blah.conf@83 blah.conf

The '-r' revision syntax doesn't work, you need to use the '@' syntax as above for the revision.

No comments: