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