Over the last couple days I took a stab at throwing my source code up into a Google Code repository. There are several options to choose from with regards to accessing your code base… “the Google” will host your code via either Mercurial or Subversion standards… quickly browsing for recommendations, I felt like Subversion was better represented. and then quickly landed on the much recommend TortoiseSVN. TortoiseSVN adds Subversion related context menus to Windows Explorer (or whatever your preferred “Finder” equivalent is). Now when I wake up in the middle of the night with an the itch to toss an idea into my current project, I don’t have to suffer through firing up my corporate Vista (ugh) laptop, waiting for a VPN connection, waiting for the remote desktop to open up… I can just pop into my VS2010 project on my main desktop (always running) and check in some code that will be right there ready to merge back into my project when I get back to my desk at work. I’ve just started using it but I’ve been back and forth a couple times and its working.
I think that’s pretty cool. Notes:
- I was initially concerned about how peppy the interaction with a cloud hosted source library would be… after using it for about a year and a half now, I can confidently say that it’s not even an issue… you generally blast away on local work copies of your files so there’s no impact… then when you’re finally ready to send up some changes you hit “SVN Commit”… it does some obvious bit chugging over the wire for a few moments but not too bad and then you get a big list of what it plans on uploading to Google…then you hit OK and it chugs through that… so the time spent on source maintenance is well contained and makes sense… good time to take a breather
- I believe Subversion works on more of a branch and merge methodology vs. exclusive checkout locks like I’m used to with VSS so I’ll have to see how that goes in practice.
- When you want to first connect your Google Code Repository with Tortoise, remember to simply select the “Checkout” context menu on your desired folder… it’ll prompt you for the SVN URL, login name (your Gmail address) & special password found via this URL.