Mercurial: Onward and upward

By on April 30, 2015

Hi, I’m Sean, the newest member on the Bitbucket team. I currently work on Mercurial but come from a scientific background with the PETSc team. My responsibilities here are working on the backend but what I’m most excited about is improving Mercurial support.

I’ve been a contributor to Mercurial for about three years and have loved Mercurial for its human-friendly user interface and supportive community. Some of my work for Mercurial includes the addition of namespaces and improving the in-memory context object. I also wrote the experimental remotenames extension (to be added to core Mercurial in the future) and the most fun smb extension.

The future of Mercurial

In my time with Mercurial, I have seen it grow in fascinating ways. These include the concept of changeset evolution coming to life and the announcement of Facebook choosing Mercurial over Git. The future of Mercurial is that of scalability and because of that, I believe the best days of Mercurial are ahead.

Mercurial 3.4 Sprint at PyCon

Here at Bitbucket, with the support of the team, I’d like to build up relations with the community and the first step was attending the Mercurial 3.4 Sprint at PyCon in Montreal this year. There were many topics discussed: new manifest version, narrow checkouts, commit signing, obsolescence marker exchange, evolve UI, reflog equivalent, new path options, and remote bookmarks. Of these topics, manifests received the most attention. A new manifest format means we can enable checkouts of only a subdirectory (called a ‘narrow’ checkout). On top of that, it opens the door for only retrieving a truncated history (called a ‘shallow’ checkout). My personal favorites are the inclusion of remote bookmarks that will be built on top of the journal i.e. reflog equivalent, and the new path features i.e. the ability to define a custom revset for pushing to a particular path.

Here are some pictures from the event (photos by Ryan McElroy and me):

Mercurial

Mercurial

Mercurial

Celebrating Mercurial’s 10th anniversary

Now that I am here, with the support of Atlassian and the Bitbucket team, we will be improving relations with the Mercurial community by hosting many events this year. We begin with celebrating Mercurial’s 10th anniversary on Wed, May 6th by hosting the first official Bay Area Mercurial Meetup at Atlassian’s San Francisco office. We will have speakers from Google to talk about scaling Mercurial and Facebook to talk about why they picked Mercurial as the version control system and what this means for the future of Mercurial. Register immediately if you are interested since we can only accommodate 100 attendees. We look forward to seeing you next week with the rest of the Mercurial community.

[*Note: An earlier version had accidentally stated that Google had chosen Mercurial over Git but that is untrue. Google is working on Mercurial scalability, but also uses Git and contributes to Git development.]

11 Comments

  • mp
    Posted April 30, 2015 at 1:51 pm | Permalink

    Maybe off topic, but when is bitbucket going to upgrade bitbucket.org? These issues have been langushing for a few years

    https://bitbucket.org/site/master/issues?status=new&status=open

    • Sean Farley
      Posted April 30, 2015 at 2:32 pm | Permalink

      Upgrading Mercurial is on my plate and will happen Very Soon™!

      • Posted May 25, 2015 at 1:22 am | Permalink

        Any updates on this?

        • Sean Farley
          Posted May 25, 2015 at 8:43 am | Permalink

          Work won’t start on this until for another month or so at the earliest.

  • Gili
    Posted April 30, 2015 at 6:05 pm | Permalink

    Hi Sean,

    Mercurial’s achilles’s heel is the lack of a Github/Bitbucket equivalent for Enterprise (private server inside the corporate network). Atlassian Stash could have filled that void, but almost 400 votes later support is not being added: https://jira.atlassian.com/browse/STASH-2469

    What is it going to take to see Bitbucket/Stash for Enterprise?

  • Posted April 30, 2015 at 6:47 pm | Permalink

    +1 I love Mercurial 🙂 It’s always been my favourite DVCS of choice!

  • Posted April 30, 2015 at 9:18 pm | Permalink

    Thanks for continuing to take Mercurial seriously. I feel it’s been somewhat neglected in favor of Git for a long time now.

  • Matthew Fernandez
    Posted June 18, 2015 at 4:18 pm | Permalink

    From the photos, it looks as if the team is exclusively male. Is this correct?

    • Jordi Gutiérrez Hermoso
      Posted August 31, 2015 at 10:53 am | Permalink

      Sadly, yes. 🙁

      I only know of one female Mercurial contributor, although going by names, there appear to be a few more in the logs.