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 " ">
|
---|
9 | <!ENTITY mercurial-md5sum "15354d739504ec46f68a0fee2ecfbf25">
|
---|
10 | <!ENTITY mercurial-size "3.2 MB">
|
---|
11 | <!ENTITY mercurial-buildsize "33 MB">
|
---|
12 | <!ENTITY mercurial-time "0.1 SBU">
|
---|
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 |
|
---|
39 | &lfs71_checked;
|
---|
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">
|
---|
82 | <ulink url="http://docutils.sourceforge.net/">Docutils</ulink> (required to build the documentation)
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <para condition="html" role="usernotes">User Notes:
|
---|
86 | <ulink url="&blfs-wiki;/mercurial"/></para>
|
---|
87 |
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | <sect2 role="installation">
|
---|
91 | <title>Installation of Mercurial</title>
|
---|
92 |
|
---|
93 | <para>Build <application>Mercurial</application> by issuing the following
|
---|
94 | command:</para>
|
---|
95 |
|
---|
96 | <screen><userinput>make build</userinput></screen>
|
---|
97 |
|
---|
98 | <para>To build the documentation (requires
|
---|
99 | <application>Docutils</application>), issue:</para>
|
---|
100 |
|
---|
101 | <screen><userinput>make doc</userinput></screen>
|
---|
102 |
|
---|
103 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
104 |
|
---|
105 | <para>Install <application>Mercurial</application> by running
|
---|
106 | the following command (as <systemitem class="username">root</systemitem>):</para>
|
---|
107 |
|
---|
108 | <screen role="root"><userinput>make PREFIX=/usr install-bin</userinput></screen>
|
---|
109 |
|
---|
110 | <para>If you built the documentation, install it by running
|
---|
111 | the following command (as <systemitem class="username">root</systemitem>):</para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>make PREFIX=/usr install-doc</userinput></screen>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2 role="content">
|
---|
118 | <title>Contents</title>
|
---|
119 |
|
---|
120 | <segmentedlist>
|
---|
121 | <segtitle>Installed Programs</segtitle>
|
---|
122 | <segtitle>Installed Libraries</segtitle>
|
---|
123 | <segtitle>Installed Directories</segtitle>
|
---|
124 |
|
---|
125 | <seglistitem>
|
---|
126 | <seg>hg</seg>
|
---|
127 | <seg>none</seg>
|
---|
128 | <seg>/usr/lib/python2.7/site-packages/hgext and
|
---|
129 | /usr/lib/python2.7/site-packages/mercurial</seg>
|
---|
130 | </seglistitem>
|
---|
131 | </segmentedlist>
|
---|
132 |
|
---|
133 | <variablelist>
|
---|
134 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
135 | <?dbfo list-presentation="list"?>
|
---|
136 | <?dbhtml list-presentation="table"?>
|
---|
137 |
|
---|
138 | <varlistentry id="hg">
|
---|
139 | <term><command>hg</command></term>
|
---|
140 | <listitem>
|
---|
141 | <para>is the program file for mercurial.</para>
|
---|
142 | <indexterm zone="mercurial hg">
|
---|
143 | <primary sortas="b-hg">hg</primary>
|
---|
144 | </indexterm>
|
---|
145 | </listitem>
|
---|
146 | </varlistentry>
|
---|
147 |
|
---|
148 | </variablelist>
|
---|
149 |
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | </sect1>
|
---|