I have mistakenly done an svn revert on the wrong directory and lost my last days worth of work. I think this is a long shot, but is there a way to do an "un revert" in svn?
+2
A:
Not sure if this is any help, but I'm using TortoiseSVN on Windows myself, and there, files that are "Reverted" are moved to the Windows Recycle Bin, from which they can usually be recovered.
Reference: TortoiseSVN Docs
onnodb
2010-09-15 17:48:51
I mis-tagged this question as TourtoiseSVN originally. I'm actually using Versions (on the mac). But, that's really good to know. Looks like Versions doesn't do the same thing though, because I don't see anything in the trash :(
herbrandson
2010-09-15 18:10:01
Ouch, too bad :( It's slightly ironic that svn can do so much accidental damage, when you use it to *prevent* such damage in the first place!
onnodb
2010-09-20 05:20:50
A:
Not unless windows saved a copy in the recycle bin like onnodb suggested. If you never committed the changes you made, svn has no knowledge they ever existed.
Lithium
2010-09-15 18:10:32