For programming in my spare time, I have both a desktop and a laptop (both Macs, though I doubt that makes a difference the question). I've got VMware on both of them, with Linux images to run my code on. They're identical images, so I've got the same environment in both places.
The trick is that I like to use version control for ALL my coding, even when I'm not coordinating with someone else. I want to see the most recent version of my code on whichever system I'm using.
I don't want to depend on having network access at all times - I might be coding somewhere without wi-fi (yes, it's rare, but some places are still in the stone ages). I'm looking at using git, but something like SVN would also do if I had the repository available locally. Or maybe the laptop becomes the SVN server and the desktop accesses it.
Has anyone done this kind of thing before? Any traps/pitfalls/lessons learned?