Skip to content

Commit 086abf7

Browse files
authored
Clean mentions of Mercurial (#77)
1 parent fb5eb7c commit 086abf7

File tree

5 files changed

+28
-33
lines changed

5 files changed

+28
-33
lines changed

communication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tree is frozen for commits, etc.), it is discussed here instead of python-dev
3838
to keep traffic down on the latter.
3939

4040
Python-checkins_ sends out an email for every commit to Python's various
41-
repositories from https://hg.python.org. All core developers
41+
repositories from https://github.com/python/cpython. All core developers
4242
subscribe to this list and are known to reply to these emails to make comments
4343
about various issues they catch in the commit. Replies get redirected to
4444
python-dev.

documenting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ documentation and how it should be used.
1515

1616
The documentation in HTML, PDF or EPUB format is generated from text files
1717
written using the :ref:`reStructuredText format <markup>` and contained in the
18-
:ref:`CPython Mercurial repository <setup>`.
18+
:ref:`CPython Git repository <setup>`.
1919

2020
.. _reStructuredText: http://docutils.sf.net/rst.html
2121

grammar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ Checklist
6464

6565
* After everything has been checked in, you're likely to see a new
6666
change to Python/Python-ast.c. This is because this
67-
(generated) file contains the hg version of the source from
67+
(generated) file contains the git version of the source from
6868
which it was generated. There's no way to avoid this; you just
6969
have to submit this file separately.

index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ patch:
1616

1717
1. Set up and install dependencies.
1818

19-
Install :ref:`Mercurial <vcsetup>` and other dependencies.
19+
Install :ref:`Git <vcsetup>` and other dependencies.
2020

2121
The dependencies needed will depend on the platform you're on.
2222
Go to :ref:`Get Setup <setup>` page for detailed information.
2323

2424
2. :ref:`Get the source code <checkout>`::
2525

26-
hg clone https://hg.python.org/cpython
26+
git clone https://github.com/python/cpython
2727

2828
3. Build Python.
2929

@@ -218,8 +218,8 @@ Key Resources
218218
* `Firefox search engine plug-in`_
219219
* `Buildbot status`_
220220
* Source code
221-
* `Browse online <https://hg.python.org/cpython/file/default/>`_
222-
* `Snapshot of py3k <https://hg.python.org/cpython/archive/default.tar.bz2>`_
221+
* `Browse online <https://github.com/python/cpython/>`_
222+
* `Snapshot of the *master* branch <https://github.com/python/cpython/archive/master.zip>`_
223223
* `Daily OS X installer <http://buildbot.python.org/daily-dmg/>`_
224224
* PEPs_ (Python Enhancement Proposals)
225225
* :doc:`faq`
@@ -288,7 +288,7 @@ Full Table of Contents
288288

289289
.. _Buildbot status: https://www.python.org/dev/buildbot/
290290
.. _Firefox search engine plug-in: https://www.python.org/dev/searchplugin/
291-
.. _Misc directory: https://hg.python.org/cpython/file/default/Misc
291+
.. _Misc directory: https://github.com/python/cpython/tree/master/Misc
292292
.. _PEPs: https://www.python.org/dev/peps/
293293
.. _python.org maintenance: https://pythondotorg.readthedocs.io/
294294
.. _Python: https://www.python.org/

setup.rst

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,16 @@ itself. git is easily available for all common operating systems. As the
3030
CPython repo is hosted on GitHub, please refer to either the
3131
`GitHub setup instructions <https://help.github.com/articles/set-up-git/>`_
3232
or the `git project instructions <https://git-scm.com>`_ for step-by-step
33-
installation directions.
33+
installation directions. You may also want to consider a graphical client
34+
such as `TortoiseGit <http://tortoisegit.org/>`_ or
35+
`GitHub Desktop <https://desktop.github.com/>`_.
36+
37+
You may also wish to
38+
`set up an SSH key <https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/>`_
39+
as this will allow you to interact with GitHub without typing a username
40+
and password each time you execute a command, such as ``git pull``,
41+
``git push``, or ``git fetch``.
3442

35-
You may also wish to set up an SSH key as
36-
described in the GitHub instructions as this will allow you to interact with
37-
GitHub without typing a username and password each time you execute a
38-
command, such as `git pull`, `git push`, or `git fetch`.
3943

4044
.. _checkout:
4145

@@ -80,17 +84,15 @@ Compiling (for debugging)
8084

8185
CPython provides several compilation flags which help with debugging various
8286
things. While all of the known flags can be found in the
83-
``Misc/SpecialBuilds.txt``
84-
file, the most critical one is the ``Py_DEBUG`` flag which creates what is
85-
known as a "pydebug" build. This flag turns on
86-
various extra sanity checks which help catch common issues. The use of the flag
87-
is so common that turning on the flag is a basic compile option.
87+
``Misc/SpecialBuilds.txt`` file, the most critical one is the ``Py_DEBUG`` flag
88+
which creates what is known as a "pydebug" build. This flag turns on various
89+
extra sanity checks which help catch common issues. The use of the flag is so
90+
common that turning on the flag is a basic compile option.
8891

89-
You should always
90-
develop under a pydebug build of CPython (the only instance of when you
91-
shouldn't is if you are taking performance measurements). Even when working
92-
only on pure Python code the pydebug build provides several useful checks that
93-
one should not skip.
92+
You should always develop under a pydebug build of CPython (the only instance of
93+
when you shouldn't is if you are taking performance measurements). Even when
94+
working only on pure Python code the pydebug build provides several useful
95+
checks that one should not skip.
9496

9597

9698
.. _build-dependencies:
@@ -271,7 +273,7 @@ still build properly).
271273
Windows
272274
'''''''
273275

274-
The `readme <https://hg.python.org/cpython/file/default/PCbuild/readme.txt>`_
276+
The `readme <https://github.com/python/cpython/blob/master/PCbuild/readme.txt>`_
275277
included in the solution has more details, especially on what additional
276278
software is required to build which parts of Python.
277279

@@ -351,15 +353,8 @@ when trying to build an old (2.x) Python with a new (3.x) Python installed, or
351353
vice versa.
352354

353355
To overcome this problem, auto-generated files are also checked into the
354-
git repository. So if you don't touch the auto-generation scripts, there's
355-
no real need to auto-generate anything. A special build target ``touch`` was added (the ``touch``
356-
build target is not designed for git clones and does not support them). Run::
357-
358-
make touch
359-
360-
Before running the compilation ``make``. This will tweak the timestamps of the
361-
auto-generated files in a way that makes it unnecessary to create them anew and
362-
henceforth the compilation should not require an installed Python interpreter.
356+
Git repository. So if you don't touch the auto-generation scripts, there's
357+
no real need to auto-generate anything.
363358

364359
Editors and Tools
365360
=================

0 commit comments

Comments
 (0)