Skip to main content

PyPy migrates to Mercurial

The assiduous readers of this blog surely remember that during the last Düsseldorf sprint in October, we started the process for migrating our main development repository from Subversion to Mercurial. Today, after more than two months, the process has finally been completed :-).

The new official PyPy repository is hosted on BitBucket.

The migration has been painful because the SVN history of PyPy was a mess and none of the existing conversion tools could handle it correctly. This was partly because PyPy started when subversion was still at version 0.9 when some best-practices were still to be established, and partly because we probably managed to invent all the possible ways to do branches (and even some of the impossible ones: there is at least one commit which you cannot do with the plain SVN client but you have to speak to the server by yourself :-)).

The actual conversion was possible thanks to the enormous work done by Ronny Pfannschmidt and his hackbeil tool. I would like to personally thank Ronny for his patience to handle all the various requests we asked for.

We hope that PyPy development becomes even more approachable now, at least from a version control point of view.


Anonymous wrote on 2010-12-14 20:19:

Awesome! Besides simplifying life for potential new contributors, it's very nice to be able to follow progress using the shortlog on

Vladimir wrote on 2010-12-14 21:08:

Over 9000 branches :/

Antonio Cuni wrote on 2010-12-14 22:34:

@Владимир: 9000? I count 459 on my local repo, which is still a lot, but not so much :-)
Anyway, most of them are closed, it's just that bitbucket displays also those. And I think that the huge number of branches is another evidence of the "we are not heroes" thing :-)

Michael Foord wrote on 2010-12-15 01:38:

Hey, you guys are *my* heroes. :-)

Leonardo Santagada wrote on 2010-12-15 13:03:

"PyPy is faster than CPython, again" should be the title. Faster at migrating to mercurial


Great work, now pypy could be even more self hosting if it would run hg on it, when it becomes faster than cpython and stable to do so.

Bernhard Leiner wrote on 2010-12-15 20:28:

PyPy running Mercurial is actually not to far away...