Mercurial > hg-website
view templates/downloads/index.html @ 493:5284da57c604 default tip
display needed flag option to send patch for the website
author | "Stephane" <stephane@yaal.fr> |
---|---|
date | Mon, 26 Oct 2020 14:55:33 +0100 |
parents | ddff2dfaa572 |
children |
line wrap: on
line source
{% extends "base.html" %} {% block content %} <h1>Mercurial downloads</h1> <script language="javascript"> Downloader.init(sources); var versions = Downloader.versions(); var more = Downloader.maxversions && versions.length > Downloader.maxversions; // Show tables for Downloader.maxversions versions for (i in versions) { if (more && i >= Downloader.maxversions) break; // Need to localize this variable to closure it correctly var current = versions[i]; document.write(Downloader.table(versions[i], function (o) { return o.version == current; })); } function exposeversions (node) { // Emit but do not render tables for remaining versions var html = '' for (i in versions) { if (i < Downloader.maxversions) continue; // Need to localize this variable to closure it correctly var current = versions[i]; html += Downloader.table(versions[i], function (o) { return o.version == current; }); } node.innerHTML = html; } if (more) { document.write('\ <div onclick="exposeversions(this);">\ <center id="more">[more versions]</center>\ </div>\ <br/>\ '); } </script> <h5>Development Repositories</h5> <dl> <dt>Main</dt> <dd>The main development repository of the Mercurial maintainer <a href="https://www.mercurial-scm.org/wiki/mpm">Matt Mackall</a> can be found at <a href="https://www.mercurial-scm.org/repo/hg"> https://www.mercurial-scm.org/repo/hg</a>.</dd> <dt>Committers</dt> <dd>The development repository of the Mercurial core contributors can be found at <a href="https://www.mercurial-scm.org/repo/hg-committed/"> https://www.mercurial-scm.org/repo/hg-committed/</a>.</dd> </dl> <p class="dl-note">See <a href="https://www.mercurial-scm.org/wiki/DeveloperRepos">Developer Repositories</a> on the wiki for a full list.</p> <h5>Requirements</h5> <dl> <dt>Python</dt> <dd>Mercurial uses <a href="https://www.python.org">Python</a> (version <em>2.7</em>). Most ready-to-run Mercurial distributions include Python or use the Python that comes with your operating system. </dd> </dl> <h5>Older Releases</h5> <dl> <dt>Python versions<dt> <dd>For more information about version support, see <a href="https://www.mercurial-scm.org/wiki/SupportedPythonVersions">Supported Python Versions</a> on the wiki.</dd> <dt>Python 2.6</dt> <dd><a href="/release/mercurial-4.2.3.tar.gz">Mercurial 4.2.3</a> is the last release to support Python 2.6. Use this if you need to run Mercurial on old platforms and you cannot update your Python installation.</dd> <dt>Python 2.5</dt> <dd><a href="/release/mercurial-3.4.2.tar.gz">Mercurial 3.4.2</a> is the last release to support Python 2.5. Use this if you need to run Mercurial on very old platforms and you cannot update your Python installation.</dd> <dt>Python 2.4</dt> <dd><a href="/release/mercurial-3.4.2.tar.gz">Mercurial 3.4.2</a> is the last release to support Python 2.4. Use this if you need to run Mercurial on very old platforms and you cannot update your Python installation.</dd> <dt>Python 2.3</dt> <dd><a href="/release/mercurial-1.2.1.tar.gz">Mercurial 1.2.1</a> is the last release to support Python 2.3. Use this if you need to run Mercurial on very old platforms and you cannot update your Python installation.</dd> <dt>Older source releases</dt> <dd><a href="/release/">All previous source releases</a> are available to download.</dd> </dl> {% endblock %} {% block sidebar %} <h3>Get started</h3> <p>Mercurial is written in Python with platform independence in mind. As a result, Mercurial is available on <a href="http://www.microsoft.com/windows">Microsoft Windows</a>, <a href="http://kernel.org">GNU/Linux</a>, <a href="http://www.apple.com">Mac OS X</a>, <a href="http://oracle.com/solaris">Solaris 11 Express</a> and others. You can either download a binary package for the system of your choice or build it from sources.</p> <p>Windows users are likely to enjoy the <a href="http://tortoisehg.org">TortoiseHg</a> GUI the most. It integrates Mercurial directly into your explorer.</p> <p>Packages for common Linux, BSD and Solaris distributions can be installed from the system specific repositories:</p> <p>(Ubuntu: If you need a more recent version than what is available through apt-get, you can <a href="https://launchpad.net/~mercurial-ppa/+archive/ubuntu/releases">try the PPA</a>.) </p> <p> <pre> # Debian/Ubuntu $ apt-get install mercurial # Fedora $ dnf install mercurial # Gentoo $ emerge mercurial # Mac OS (homebrew) $ brew install mercurial # FreeBSD $ cd /usr/ports/devel/mercurial $ make install # Solaris 11 Express $ pkg install SUNWmercurial </pre> </p> {% endblock %}