[Python-checkins] devguide: Mention Petri's git mirror, since this question has come up a couple of times

nick.coghlan python-checkins at python.org
Sat Sep 8 05:53:50 CEST 2012


http://hg.python.org/devguide/rev/a19e721916f5
changeset:   544:a19e721916f5
user:        Nick Coghlan <ncoghlan at gmail.com>
date:        Sat Sep 08 13:53:41 2012 +1000
summary:
  Mention Petri's git mirror, since this question has come up a couple of times now and using Petri's mirror is the simplest answer

files:
  faq.rst |  24 ++++++++++++++++++++++++
  1 files changed, 24 insertions(+), 0 deletions(-)


diff --git a/faq.rst b/faq.rst
--- a/faq.rst
+++ b/faq.rst
@@ -140,6 +140,30 @@
 .. _Hg Init\: a Mercurial tutorial: http://hginit.com/
 
 
+I already know how to use Git, can I use that instead?
+------------------------------------------------------
+
+While the main workflow for core developers requires Mercurial, if
+you just want to generate patches with ``git diff`` and post them to the
+`issue tracker`_, Petri Lehtinen maintains a `git mirror`_ of the main
+`CPython repository`_. To create a local clone based on this mirror rather
+than the main repository::
+
+    git clone git://github.com/akheron/cpython
+
+The mirror's master branch tracks the main repository's default branch,
+while the maintenance branch names (``2.7``, ``3.2``, etc) are mapped
+directly.
+
+.. _git mirror: http://github.com/akheron/cpython
+.. _CPython repository: http://hg.python.org/cpython
+
+Please only use this approach if you're already an experienced Git user and
+don't require assistance with the specifics of version control commands. All
+other parts of this developer's guide assume the use of Mercurial for local
+version control.
+
+
 What do I need to use Mercurial?
 -------------------------------------------------------------------------------
 

-- 
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list