Source

hg-website-rendered / downloads / index.html

Full commit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="/css/styles.css" type="text/css" rel="stylesheet">
        <script type="text/javascript" src="/js/typeface-0.15.js"></script>
        <script type="text/javascript" src="/js/optimer_regular.typeface.js"></script>
        <script type="text/javascript" src="/js/common.js"></script>
        <script type="text/javascript" src="/sources.js"></script>
        <script type="text/javascript" src="/js/download.js"></script>
        <script language="javascript">
          Downloader.init(sources);
          var dl = Downloader.select();
        </script>
        <link rel="shortcut icon" type="image/x-icon" href="/images/favicon.ico">

        <title>Mercurial SCM</title>
    </head>
    <body id="home">
        <h1 id="logo"><a href="/">mercurial</a></h1>
            
        <ul id="nav" class="typeface-js">
            <li><a href="/about/">about</a></li>
            <li><a href="/guide/">guide</a></li>
            <li><a href="/downloads/">download</a></li>
            <li><a href="http://mercurial.selenic.com/wiki/UsingExtensions">extensions</a></li>
            <li><a href="http://mercurial.selenic.com/wiki/">news/wiki</a></li>
            <li><a href="/sponsors/">sponsors</a></li>
        </ul>
        
        <form id="search" method="get" action="http://mercurial.selenic.com/wiki/Mercurial">
        <input type="hidden" name="action" value="fullsearch">
        <input type="hidden" name="context" value="180">
            <fieldset>
                <legend>Search form</legend>
                <label for="keyword">keyword</label>
                <input class="text" type="text" name="value"
                value="Search the Wiki" id="keyword" onclick="resetBar();">
                <input class="submit" type="submit" value="Title"
                name="titlesearch" alt="Search Titles"> 
            </fieldset>
        </form>
        
        <div id="content">
            
                <div class="row">
                    <div class="col big">
                        

    <h1>Mercurial downloads</h1>
    <script language="javascript">
        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="http://mercurial.selenic.com/wiki/mpm">Matt Mackall</a>
          can be found at <a href="http://selenic.com/hg">
          http://selenic.com/hg</a>.</dd>
      <dt>Crew</dt>
      <dd>The development repository of the <a
          href="http://mercurial.selenic.com/wiki/CrewRepository">
          Mercurial Crew</a>
          can be found at <a href="http://hg.intevation.org/mercurial/crew">
          http://hg.intevation.org/mercurial/crew</a>.</dd>
    </dl>

    <h5>Requirements</h5>
    <dl>
      <dt>Python</dt>
      <dd>Mercurial uses <a href="http://www.python.org">Python</a>
          (versions <em>2.4</em> through <em>2.7</em>).  Most
          ready-to-run Mercurial distributions include Python or use
          the Python that comes with your operating system.  When
          building from source you should confirm that an appropriate
          Python version is available.</dd>
    </dl>

                    </div>
                    <div class="col">
                        
    <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>
<pre>
# Debian/Ubuntu
$ apt-get install mercurial

# Fedora
$ yum install mercurial

# Gentoo
$ emerge mercurial

# FreeBSD
$ cd /usr/ports/devel/mercurial
$ make install

# Solaris 11 Express
$ pkg install SUNWmercurial
 </pre>
 </p>

                    </div>
                </div>
            
        </div>
        
        <div id="footer">
            design by <a href="http://www.designpunct.ro">punct</a> /
            design courtesy of <a href="http://www.bitbucket.org/">bitbucket</a> /
            licensed under <a href="http://www.gnu.org/licenses/gpl-2.0.txt">GPLv2</a> /
            <a href="/thepage/">about this page</a>
        </div>
        
    </body>
</html>