[f5a75ae] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY mercurial-download-http "http://mercurial.selenic.com/release/mercurial-&mercurial-version;.tar.gz">
|
---|
| 8 | <!ENTITY mercurial-download-ftp " ">
|
---|
[ce05ac9a] | 9 | <!ENTITY mercurial-md5sum "6e90450ab3886bc650031e0d9aef367a">
|
---|
[982e5c9] | 10 | <!ENTITY mercurial-size "3.4 MB">
|
---|
[ce05ac9a] | 11 | <!ENTITY mercurial-buildsize "30 MB">
|
---|
| 12 | <!ENTITY mercurial-time "0.1 SBU (additional 8.5 SBU for checks)">
|
---|
[f5a75ae] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="mercurial" xreflabel="mercurial-&mercurial-version;">
|
---|
| 16 | <?dbhtml filename="mercurial.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>mercurial-&mercurial-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="mercurial">
|
---|
| 26 | <primary sortas="a-mercurial">mercurial</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Mercurial</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>Mercurial</application> is a distributed source control
|
---|
| 33 | management tool similar to <application>CVS</application>,
|
---|
| 34 | <application>Subversion</application> and <application>Git</application>.
|
---|
| 35 | <application>Mercurial</application> is written in
|
---|
| 36 | <application>Python</application> and is used by projects such as Mozilla,
|
---|
| 37 | Vim and Audacious.</para>
|
---|
| 38 |
|
---|
[982e5c9] | 39 | &lfs72_checked;
|
---|
[f5a75ae] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&mercurial-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&mercurial-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &mercurial-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &mercurial-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &mercurial-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &mercurial-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
| 63 | <!--
|
---|
| 64 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 65 | <itemizedlist spacing='compact'>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Recommended patch: <ulink
|
---|
| 68 | url="&patch-root;/mercurial-&mercurial-version;-1.patch"/></para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 | -->
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Mercurial Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
| 77 | <xref linkend="python2"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 81 | <para role="optional">
|
---|
[982e5c9] | 82 | <ulink url="http://docutils.sourceforge.net/">Docutils</ulink> (required to build the documentation),
|
---|
| 83 | <xref linkend="git"/>,
|
---|
| 84 | <xref linkend="gpg2"/> (with Python bindings),
|
---|
| 85 | <xref linkend="subversion"/> (with Python bindings),
|
---|
[792be78] | 86 | <xref linkend="bazaar"/>,
|
---|
| 87 | <xref linkend="cvs"/>,
|
---|
[982e5c9] | 88 | <ulink url="http://pypi.python.org/pypi/pyflakes">pyflakes</ulink>,
|
---|
| 89 | <ulink url="http://pygments.org/">pygments</ulink>, and
|
---|
| 90 | <ulink url="https://launchpad.net/pyopenssl">pyOpenSSL</ulink>
|
---|
| 91 |
|
---|
[f5a75ae] | 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <para condition="html" role="usernotes">User Notes:
|
---|
| 95 | <ulink url="&blfs-wiki;/mercurial"/></para>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of Mercurial</title>
|
---|
| 101 |
|
---|
| 102 | <para>Build <application>Mercurial</application> by issuing the following
|
---|
| 103 | command:</para>
|
---|
| 104 |
|
---|
| 105 | <screen><userinput>make build</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | <para>To build the documentation (requires
|
---|
| 108 | <application>Docutils</application>), issue:</para>
|
---|
| 109 |
|
---|
| 110 | <screen><userinput>make doc</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 113 |
|
---|
| 114 | <para>Install <application>Mercurial</application> by running
|
---|
| 115 | the following command (as <systemitem class="username">root</systemitem>):</para>
|
---|
| 116 |
|
---|
| 117 | <screen role="root"><userinput>make PREFIX=/usr install-bin</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | <para>If you built the documentation, install it by running
|
---|
| 120 | the following command (as <systemitem class="username">root</systemitem>):</para>
|
---|
| 121 |
|
---|
| 122 | <screen role="root"><userinput>make PREFIX=/usr install-doc</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
| 130 | <segtitle>Installed Programs</segtitle>
|
---|
| 131 | <segtitle>Installed Libraries</segtitle>
|
---|
| 132 | <segtitle>Installed Directories</segtitle>
|
---|
| 133 |
|
---|
| 134 | <seglistitem>
|
---|
| 135 | <seg>hg</seg>
|
---|
| 136 | <seg>none</seg>
|
---|
| 137 | <seg>/usr/lib/python2.7/site-packages/hgext and
|
---|
| 138 | /usr/lib/python2.7/site-packages/mercurial</seg>
|
---|
| 139 | </seglistitem>
|
---|
| 140 | </segmentedlist>
|
---|
| 141 |
|
---|
| 142 | <variablelist>
|
---|
| 143 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 144 | <?dbfo list-presentation="list"?>
|
---|
| 145 | <?dbhtml list-presentation="table"?>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="hg">
|
---|
| 148 | <term><command>hg</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>is the program file for mercurial.</para>
|
---|
| 151 | <indexterm zone="mercurial hg">
|
---|
| 152 | <primary sortas="b-hg">hg</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | </variablelist>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | </sect1>
|
---|