@@ -279,35 +279,17 @@ Installing the development version
279
279
If you'd like to be able to update your Django code occasionally with the
280
280
latest bug fixes and improvements, follow these instructions:
281
281
282
- 1. Make sure that you have Subversion_, Git_, or Mercurial_ installed, and
283
- that you can run its commands from a shell. (Enter ``svn help``,
284
- ``git help``, or ``hg help`` at a shell prompt to test this.) Note that
285
- the Subversion repository is the canonical source for the official
286
- Git and Mercurial repositories and as such will always be the most up-to-date.
282
+ 1. Make sure that you have Git_ installed and that you can run its commands
283
+ from a shell. (Enter ``git help`` at a shell prompt to test this.)
287
284
288
- 2. Check out Django's main development branch (the 'trunk') like so:
285
+ 2. Check out Django's main development branch (the 'trunk' or 'master') like
286
+ so:
289
287
290
288
.. code-block:: bash
291
289
292
- # Subversion
293
- svn co https://code.djangoproject.com/svn/django/trunk/ django-trunk
290
+ git clone git://github.com/django/django.git django-trunk
294
291
295
- Mirrors of the Subversion repository can be obtained like so:
296
-
297
- .. code-block:: bash
298
-
299
- # Git (requires version 1.6.6 or later)
300
- git clone https://github.com/django/django.git
301
- # or (works with all versions)
302
- git clone git://github.com/django/django.git
303
-
304
- # Mercurial
305
- hg clone https://bitbucket.org/django/django
306
-
307
- .. warning ::
308
-
309
- These mirrors should be updated every 5 minutes but aren't guaranteed
310
- to be up-to-date since they are hosted on external services.
292
+ This will create a directory ``django-trunk`` in your current directory.
311
293
312
294
3. Next, make sure that the Python interpreter can load Django's code. The most
313
295
convenient way to do this is to `modify Python's search path`_. Add a ``.pth``
@@ -349,11 +331,8 @@ latest bug fixes and improvements, follow these instructions:
349
331
known to cause problems when updating to a more recent version of Django.
350
332
351
333
When you want to update your copy of the Django source code, just run the
352
- command ``svn update`` from within the ``django-trunk`` directory. When you do
353
- this, Subversion will automatically download any changes. The equivalent
354
- command for Git is ``git pull``, and for Mercurial ``hg pull --update``.
334
+ command ``git pull`` from within the ``django-trunk`` directory. When you do
335
+ this, Git will automatically download any changes.
355
336
356
- .. _Subversion: http://subversion.tigris.org/
357
337
.. _Git: http://git-scm.com/
358
- .. _Mercurial: http://mercurial.selenic.com/
359
338
.. _`modify Python's search path`: http://docs.python.org/install/index.html#modifying-python-s-search-path
0 commit comments