source: general/prog/mercurial.xml@ 98655f2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 98655f2 was 98655f2, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to mercurial-2.8.2.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12529 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.0 KB
Line 
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 "050d05f9efc95dfef88217b63962a09a">
10 <!ENTITY mercurial-size "3.7 MB">
11 <!ENTITY mercurial-buildsize "43 MB (additional 1 MB for tests and 2 MB
12 for docs generation)
13">
14 <!ENTITY mercurial-time "less than 0.1 SBU (additional 7.2 SBU
15 for tests)">
16]>
17
18<sect1 id="mercurial" xreflabel="Mercurial-&mercurial-version;">
19 <?dbhtml filename="mercurial.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>Mercurial-&mercurial-version;</title>
27
28 <indexterm zone="mercurial">
29 <primary sortas="a-mercurial">mercurial</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to Mercurial</title>
34
35 <para><application>Mercurial</application> is a distributed source control
36 management tool similar to <application>Git</application> and
37 <application>Bazaar</application>. <application>Mercurial</application> is
38 written in <application>Python</application> and is used by projects such as
39 Mozilla and Vim.</para>
40
41 &lfs74_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&mercurial-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&mercurial-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &mercurial-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &mercurial-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &mercurial-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &mercurial-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">Mercurial Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Required</bridgehead>
68 <para role="required">
69 <xref linkend="python2"/>
70 </para>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional">
74 <ulink url="http://docutils.sourceforge.net/">Docutils</ulink> (required to build the documentation),
75 <xref linkend="git"/>,
76 <xref linkend="gnupg2"/> (<command>gpg2</command> with Python bindings),
77 <xref linkend="subversion"/> (with Python bindings),
78 <xref linkend="bazaar"/>,
79 <xref linkend="cvs"/>,
80 <ulink url="http://pypi.python.org/pypi/pyflakes">pyflakes</ulink>,
81 <ulink url="http://pygments.org/">pygments</ulink>, and
82 <ulink url="https://launchpad.net/pyopenssl">pyOpenSSL</ulink>
83
84 </para>
85
86 <para condition="html" role="usernotes">User Notes:
87 <ulink url="&blfs-wiki;/mercurial"/></para>
88
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of Mercurial</title>
93
94 <para>Build <application>Mercurial</application> by issuing the following
95 command:</para>
96
97<screen><userinput>make build</userinput></screen>
98
99 <para>To build the documentation (requires
100 <application>Docutils</application>), issue:</para>
101
102<screen><userinput>make doc</userinput></screen>
103
104 <para>To test the results, issue: <command>make check</command>.</para>
105
106 <para>Install <application>Mercurial</application> by running
107 the following command (as <systemitem class="username">root</systemitem>):</para>
108
109<screen role="root"><userinput>make PREFIX=/usr install-bin</userinput></screen>
110
111 <para>If you built the documentation, install it by running
112 the following command (as <systemitem class="username">root</systemitem>):</para>
113
114<screen role="root"><userinput>make PREFIX=/usr install-doc</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="configuration">
119 <title>Configuring Mercurial</title>
120
121 <sect3 id="mercurial-config">
122 <title>Config Files</title>
123
124 <para>
125 <filename>/etc/mercurial/hgrc</filename>
126 </para>
127
128 <indexterm zone="mercurial mercurial-config">
129 <primary sortas="e-etc-mercurial-hgrc">/etc/mercurial/hgrc</primary>
130 </indexterm>
131
132 <para>
133 If you have installed the <xref linkend="cacerts"/> and you want
134 <application>Mercurial</application> to use them, as the
135 <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>install -v -d -m755 /etc/mercurial &amp;&amp;
139cat &gt; /etc/mercurial/hgrc &lt;&lt; "EOF"
140<literal>[web]
141cacerts = /etc/ssl/ca-bundle.crt</literal>
142EOF</userinput></screen>
143
144 </sect3>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>hg</seg>
158 <seg>/usr/lib/python2.7/site-packages/hgext/inotify/linux/_inotify.so and
159 several under /usr/lib/python2.7/site-packages/mercurial</seg>
160 <seg>/etc/mercurial, /usr/lib/python2.7/site-packages/hgext and
161 /usr/lib/python2.7/site-packages/mercurial</seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="hg">
171 <term><command>hg</command></term>
172 <listitem>
173 <para>is the program file for mercurial.</para>
174 <indexterm zone="mercurial hg">
175 <primary sortas="b-hg">hg</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 </variablelist>
181
182 </sect2>
183
184</sect1>
Note: See TracBrowser for help on using the repository browser.