Distributed Source Control with Mercurial Presentation

2008/06/3

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.

There are 5 comments in this article:

  1. 2008/06/4Mercurial fan say:

    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. 2008/06/5TheBull say:

    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. 2008/06/6Blog bookmarks 06/06/2008 « My Diigo bookmarks say:

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

  4. 2008/06/11Ben Tsai say:

    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. 2008/08/26Kirk say:

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

Write a comment: