[Python-Dev] Semi-official read-only Github mirror of the CPython Mercurial repository

Eli Bendersky eliben at gmail.com
Mon Sep 30 17:33:21 CEST 2013

On Mon, Sep 30, 2013 at 7:08 AM, Skip Montanaro <skip at pobox.com> wrote:

> > https://github.com/python/cpython is now live as a semi-official, *read
> > only* Github mirror of the CPython Mercurial repository. Let me know if
> you
> > have any problems/concerns.
> Thanks for this, Eli. I use git regularly at work, so I'm getting much
> more comfortable with it. Do you have a suggested workflow for people
> who might want to use Git in preference to Hg, but still have write
> access?

Petri Lehtinen runs a clone at https://github.com/akheron/cpython which
uses more advanced tricks like hg-git and his own git-hg wrapper to allow
him to do this, AFAIK. If this path is important for you, contact Petri and
he can provide guidance on how to set it up.

For python/cpython I really wanted the simplest flow to reach a read-only
stage, because I lack the necessary git/hg-fu to set up and maintain
something more complex "semi-officially". I think the most common workflow
is to do small changes vs. Mercurial anyway. When I'm working on
longer-term patches I do them in my Git mirror (because I prefer Git
branching) and then apply & test patches onto a Mercurial R/W clone before

Thus, for most users I think the read-only mirror is preferable because
it's much easier to use and reason about. All writes go solely through
Mercurial, so it's clear where the official source is :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130930/e2c9204c/attachment.html>

More information about the Python-Dev mailing list