Tuesday, December 14, 2010

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.

6 comments:

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

    ReplyDelete
  2. @Владимир: 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 :-)
    http://morepypy.blogspot.com/2010/12/we-are-not-heroes-just-very-patient.html

    ReplyDelete
  3. "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.

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

    http://markmail.org/message/wjik2ecanvmt463y#query:+page:1+mid:qbdxn3566j2y7piu+state:results

    ReplyDelete

See also PyPy's IRC channel: #pypy at freenode.net, or the pypy-dev mailing list.
If the blog post is old, it is pointless to ask questions here about it---you're unlikely to get an answer.