d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Linux Server - I'm An Idiot
Add Reply New Topic New Poll
Member
Posts: 18,969
Joined: Aug 16 2007
Gold: 16,089.87
Feb 2 2015 03:07pm
Straight face palm..
I was writing a program, put 15 hours of work into it and I had the program write over itself somehow (thought I was writing to somewhere else)

Anyway, I have nothing and is there anyway to revert saves on linux server or am I screwed and have to start all over?

This has been a TERRIBLE day and it's just gotten worse from that. Lol..
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Feb 2 2015 03:11pm
just revert / checkout from your svn repository.

if you used an IDE like eclipse, it might have a workspace history.

This post was edited by carteblanche on Feb 2 2015 03:16pm
Member
Posts: 18,969
Joined: Aug 16 2007
Gold: 16,089.87
Feb 2 2015 04:19pm
Quote (carteblanche @ Feb 2 2015 03:11pm)
just revert / checkout from your svn repository.

if you used an IDE like eclipse, it might have a workspace history.


I am using winSCP and the editor from there.. :/ I think i might be screwed, I don't know if there's any way to revert.

I'm pretty much back to where I started anyway, missing a few things but for the most part I remembered what I had and am getting chunks from other files I had saved randomly when testing stuff out.

Thank you though :)!

This post was edited by Trev on Feb 2 2015 04:20pm
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Feb 2 2015 04:49pm
doesnt winscp create local temp files for the edit? i would try editing a file, seeing what directory it's being saved to, then see what else is in there
Member
Posts: 11,637
Joined: Feb 2 2004
Gold: 434.84
Feb 3 2015 07:39am
Quote (Trev @ Feb 2 2015 04:07pm)
Straight face palm..
I was writing a program, put 15 hours of work into it and I had the program write over itself somehow (thought I was writing to somewhere else)

Anyway, I have nothing and is there anyway to revert saves on linux server or am I screwed and have to start all over?

This has been a TERRIBLE day and it's just gotten worse from that. Lol..


Take this as a lesson that you should be using version control. Install and learn Git.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll