On Tue, Aug 6, 2013 at 9:31 PM, Jack Cane <jwcane_at_enwphotos.com> wrote:
> Please advise if there is a way to undelete files accidentally deleted
> from SVN. I had intended only to remove them from the depository, but they
> were also deleted from my hard drive.
Assuming you didn't have any local, uncommitted changes, you can get them
from the previous revision.
1. Bring up repo browser and navigate to the SVN directory where they
were checked in.
2. Click Revision (in the top right corner in TSVN 1.7), and choose the
revision that has the files you want. The Show Log button you see here will
probably be helpful.
3. Right click the file you want to download, and use "Save As...".
In the future, you can delete files from the repository and leave them on
your local machine using "Unversion and add to ignore list"; if you don't
want it on the ignore list, you'll have to either manually remove the
property from the parent folder or revert the property change (unless
something changed in 1.8). Note that using "Unversion and add to ignore
list" will still cause the files to be deleted from any other checked out
copy (on your machine or other people's) when they perform an update, and
they'll get conflicts if the file has local changes when they do so.
If you had local modifications, you might be out of luck. The only option
then would be to use some kind of file recovery tool.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-08-07 03:52:47 CEST