Jun 3rd 2008 10:10 pm Distributed Source Control with Mercurial Presentation

I gave a presentation at work today on Distributed Version Control Systems and Mercurial. We’re currently using Subversion, and I’m nudging my co-workers into getting interested in the benefits of distributed version control over a centralized system.

The presentation starts with the pros and cons of distributed systems and gives a brief overview of the top 3 most popular DVCS systems:

I go into the details of why I chose to use Mercurial and describe some common usage patterns for people used to using Subversion.

I then did a live-coding session where I created a quick grails application, added it to a new repository, cloned the repository and pushed changes back and forth to show how mercurial handles merging and history.

I also suggest how developers can use mercurial as a “super client” to enable much of this power while still working on a team that uses subversion.

Overall the presentation was well received, and many of the developers seemed excited about the potential in a DVCS like mercurial. I know a number of them downloaded mercurial this afternoon and gave it a shot. I also spoke with our build guy and one of our architects who both seem interested in switching over.

If you’re interested in installing mercurial, you can easily download binaries, or else you can go to the main mercurial website and compile it from source.

Here’s the presentation (without notes):

I’ve also uploaded a version of the presentation with full notes on slideshare. Adding the notes makes it too small to read in their flash app, so I suggest downloading the presentation if you want to see them. The notes also include all of the detail in the live coding session (though you have to have grails 1.0.2 or better installed to get the same stuff I did).

I’d be interested to hear from others who have convinced their teams to switch from using a centralized repository to a distributed one like Mercurial.

Posted by tednaleid / command line and grails and mercurial and osx

5 Responses to “Distributed Source Control with Mercurial Presentation”

  1. Mercurial fan on 04 Jun 2008 at 8:45 pm #

    Wow, great presentation!

    It’s one of the best introductory of Mercurial and the comparison with Git and Bzr adds a lot.

    Good job.

  2. TheBull on 05 Jun 2008 at 11:29 am #

    We are having this debate right now. Now that we have a release manager and trying to do things ‘right’ we are seeing the holes that SVN has with merging in stuff. Our RM has several scripts that he has written to help him out, but it sure makes this easy to screw up, especially with so many people working on the same repo.

    At first we were looking at GIT, but from what we’ve read it seems a bit harder to use. It also doesn’t not play well with windows (even though most of us are on macs) and doesn’t have the tool support that hg does.

    If all goes well we will be switching fairly soon.

  3. Blog bookmarks 06/06/2008 « My Diigo bookmarks on 06 Jun 2008 at 1:02 am #

    […] Ted Naleid ยป Distributed Source Control with Mercurial Presentation […]

  4. Ben Tsai on 11 Jun 2008 at 8:09 am #

    Thanks for sharing your slides. I’m also interested in demoing this to my company, and your presentation will be a great resource. Cheers!

  5. Kirk on 26 Aug 2008 at 8:07 am #

    Great presentation. It is actually much easier to follow than the getting started guides on the Mercurial website.

Trackback URI | Comments RSS

Leave a Reply