1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY subversion-download-http "http://subversion.tigris.org/tarballs/subversion-&subversion-version;.tar.bz2">
|
---|
8 | <!ENTITY subversion-download-ftp " ">
|
---|
9 | <!ENTITY subversion-size "5.8 MB">
|
---|
10 | <!ENTITY subversion-buildsize "99 MB">
|
---|
11 | <!ENTITY subversion-time "0.80 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="subversion.html"?>
|
---|
20 | <title>Subversion-&subversion-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application>Subversion</application></title>
|
---|
24 |
|
---|
25 | <para><application>Subversion</application> is a version control system that
|
---|
26 | is designed to be a compelling replacement for <acronym>CVS</acronym> in
|
---|
27 | the open source community. It extends and enhances <acronym>CVS</acronym>'s
|
---|
28 | feature set, while maintaining a similar interface for those already familiar
|
---|
29 | with <acronym>CVS</acronym>. These instructions install the client used to
|
---|
30 | manipulate a <application>Subversion</application> repository, creation of
|
---|
31 | a repository is covered at <xref linkend="svnserver"/>.</para>
|
---|
32 |
|
---|
33 | <sect3><title>Package information</title>
|
---|
34 | <itemizedlist spacing='compact'>
|
---|
35 | <listitem><para>Download (HTTP): <ulink url="&subversion-download-http;"/></para></listitem>
|
---|
36 | <listitem><para>Download (FTP): <ulink url="&subversion-download-ftp;"/></para></listitem>
|
---|
37 | <listitem><para>Download size: &subversion-size;</para></listitem>
|
---|
38 | <listitem><para>Estimated Disk space required: &subversion-buildsize;</para></listitem>
|
---|
39 | <listitem><para>Estimated build time: &subversion-time;</para></listitem></itemizedlist>
|
---|
40 | </sect3>
|
---|
41 |
|
---|
42 | <sect3><title><application>Subversion</application> dependencies</title>
|
---|
43 | <sect4><title>Required (client and server)</title>
|
---|
44 | <para><xref linkend="libxml2"/></para></sect4>
|
---|
45 | <sect4><title>Required (server only)</title>
|
---|
46 | <para><xref linkend="db"/></para></sect4>
|
---|
47 | <sect4><title>Optional (cleint and server)</title>
|
---|
48 | <para>
|
---|
49 | <xref linkend="expat"/>,
|
---|
50 | <xref linkend="gdbm"/>,
|
---|
51 | <xref linkend="openssl"/>,
|
---|
52 | <xref linkend="openssh"/> and
|
---|
53 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>
|
---|
54 | </para></sect4>
|
---|
55 | <sect4><title>Optional (server only)</title>
|
---|
56 | <para>
|
---|
57 | inetd or <xref linkend="xinetd" />,
|
---|
58 | <xref linkend="apache"/>,
|
---|
59 | <xref linkend="j2sdk"/>,
|
---|
60 | <xref linkend="Python"/>,
|
---|
61 | <ulink url="http://www.swig.org">SWIG</ulink> and
|
---|
62 | <ulink url="http://www.webdav.org/neon/">neon-0.24.7</ulink>
|
---|
63 | </para>
|
---|
64 | </sect4>
|
---|
65 | </sect3>
|
---|
66 |
|
---|
67 | </sect2>
|
---|
68 |
|
---|
69 | <sect2>
|
---|
70 | <title>Installation of <application>Subversion</application></title>
|
---|
71 |
|
---|
72 | <para>Install <application>Subversion</application> by running the following commands:</para>
|
---|
73 |
|
---|
74 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
75 | make &&
|
---|
76 | make install</command></userinput></screen>
|
---|
77 |
|
---|
78 | <note><para>If you have <application>Apache</application> installed pass
|
---|
79 | the <parameter>--with-apr=/usr</parameter> and
|
---|
80 | <parameter>--with-apr-util=/usr</parameter> switches to the
|
---|
81 | <command>configure</command> script. Otherwise,
|
---|
82 | <application>Subversion</application> will overwrite
|
---|
83 | <acronym>APR</acronym> and <acronym>APR</acronym>-utils from
|
---|
84 | <application>Apache</application> installation with its own
|
---|
85 | files.</para></note>
|
---|
86 |
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2>
|
---|
90 | <title>Configuring <application>Subversion</application></title>
|
---|
91 |
|
---|
92 | <sect3><title>Config files</title>
|
---|
93 | <para><filename>~/.subversion/config</filename>, <filename>/etc/subversion/config</filename></para>
|
---|
94 | </sect3>
|
---|
95 |
|
---|
96 | <sect3><title>Configuration Information</title>
|
---|
97 |
|
---|
98 | <para><filename>/etc/subversion/config</filename> is the
|
---|
99 | <application>Subversion</application> system-wide configuration file.
|
---|
100 | This file is used to specify defaults for different
|
---|
101 | <command>svn</command> commands.</para>
|
---|
102 |
|
---|
103 | <para><filename>~/.subversion/config</filename> is the user's personal
|
---|
104 | configuration file. It is used to override the system-wide defaults
|
---|
105 | set in <filename>/etc/subversion/config</filename>.</para>
|
---|
106 | </sect3>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2>
|
---|
111 | <title>Contents</title>
|
---|
112 |
|
---|
113 | <para>The <application>Subversion</application> package contains
|
---|
114 | <command>svn</command>, <command>svnversion</command>,
|
---|
115 | <command>svnlook</command>, <command>svnadmin</command>,
|
---|
116 | <command>svndumpfilter</command>, <command>mod_dav_svn</command>
|
---|
117 | and <command>svnserve</command>.</para>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2><title>Description</title>
|
---|
122 |
|
---|
123 | <sect3><title>svn</title>
|
---|
124 | <para>The command-line client program.</para></sect3>
|
---|
125 |
|
---|
126 | <sect3><title>svnversion</title>
|
---|
127 | <para>A program for reporting the state of a working copy.</para></sect3>
|
---|
128 |
|
---|
129 | <sect3><title>svnlook</title>
|
---|
130 | <para>A tool for inspecting a Subversion repository.</para></sect3>
|
---|
131 |
|
---|
132 | <sect3><title>svnadmin</title>
|
---|
133 | <para>A tool for creating, tweaking or repairing a Subversion
|
---|
134 | repository.</para></sect3>
|
---|
135 |
|
---|
136 | <sect3><title>svndumpfilter</title>
|
---|
137 | <para>A program for filtering Subversion repository dumpfile format
|
---|
138 | streams.</para></sect3>
|
---|
139 |
|
---|
140 | <sect3><title>mod_dav_svn</title>
|
---|
141 | <para>A plug-in module for the Apache HTTP Server, used to make your
|
---|
142 | repository available to others over a network.</para></sect3>
|
---|
143 |
|
---|
144 | <sect3><title>svnserve</title>
|
---|
145 | <para>A custom standalone server program, able to run as a daemon process or
|
---|
146 | invoked by <acronym>SSH</acronym>.</para></sect3>
|
---|
147 |
|
---|
148 | </sect2>
|
---|
149 |
|
---|
150 | </sect1>
|
---|
151 |
|
---|