I didn't realize svn delete
would delete my local copy, I just wanted it out of the repository. Now all my files are gone, and they aren't in the trash bin either. Is there any way I can recover them?
I should clarify, these files never made it into the repository. I was trying to get rid of some old junk in the repository so that I could check these in.
I'm running Ubuntu on an ext3 filesystem. It's okay though.... I managed to redo what I deleted in about 2 hours.
If you are using TortoiseSVN, just do a Check for Modifications, sort by the Status column, select all the entries marked missing , right-click to open the context menu, and select Delete. Finally, commit to publish the changes to the repository.
Name. svn delete (del, remove, rm) — Delete an item from a working copy or the repository.
Nope.
Not unless they're still in use by some other application, sorry.
Can't you just check out whatever you were working again in a new directory? If you had any changes that were not versioned you are SOL, anything else you can just svn revert to the latest version in the repository.
Going to the file directory,
svn revert "filename"
will restore any file locally deleted, yet not committed, but already under version controlled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With