The day I realized I need Leopard on my laptop
- Published January 8th, 2008 in Personal
So, after, like, two hours of coding I made a huge mistake and reverted (prior to committing) a file to its previous state (from HEAD).
If this had happened with Leopard (like it happened a few days ago on my desktop iMac) I would just have to go to Time Machine and recover it.
Oh boy…




http://en.wikipedia.org/wiki/Previous_Versions
using it since 2004…
ricardo,
Cool dude. And rsync exists since 1996.
Thing is, you open Mail.app and Time Machine and you can select the email to recover from within the email client.
Time Machine has brought the ease of use that is yet to be comparable with any other backup system. Otherwise I’d still be using rsync along with crond, which works pretty well.
Actually, since I run Leopard, I’ve recovered about 3 big “mistaken files”.. Amazing! :)
Looks like you’re delaying your commits. Have you looked at Mercurial?
Koch,
I don’t commit every single line of code. I do it by blocks, i.e., did functionality X, then commit functionality X.
Yes, but it seems you’re reverting when you should be doing another branch from last head.
I don’t know. The usage pattern just rang a bell saying “this guy is losing LoC’s over SVN’s limitation”. I felt like I should tell you something. =)
Koch,
Actually I ran a custom-made script that does a diff and asks which files to revert. I pushed the key ‘a’ (all) instead of the filename. My bad, nothing to do with SVN.