[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"/>,
|
---|
[e4fef732] | 48 | <xref linkend="openssh"/>,
|
---|
| 49 | <xref linkend="pkgconfig"/> and
|
---|
[6ff0105] | 50 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>
|
---|
[a91dd56] | 51 | </para></sect4>
|
---|
[6ff0105] | 52 | <sect4><title>Optional (server only)</title>
|
---|
[4033f7d3] | 53 | <para>
|
---|
[42c74de] | 54 | inetd or <xref linkend="xinetd" />,
|
---|
[6ff0105] | 55 | <xref linkend="apache"/>,
|
---|
| 56 | <xref linkend="j2sdk"/>,
|
---|
[42c74de] | 57 | <xref linkend="Python"/>,
|
---|
[6ff0105] | 58 | <ulink url="http://www.swig.org">SWIG</ulink> and
|
---|
[e4fef732] | 59 | <ulink url="http://www.webdav.org/neon/">neon-0.24.7</ulink>
|
---|
[4033f7d3] | 60 | </para>
|
---|
[6ff0105] | 61 | </sect4>
|
---|
[a91dd56] | 62 | </sect3>
|
---|
| 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2>
|
---|
| 67 | <title>Installation of <application>Subversion</application></title>
|
---|
| 68 |
|
---|
| 69 | <para>Install <application>Subversion</application> by running the following commands:</para>
|
---|
| 70 |
|
---|
| 71 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 72 | make &&
|
---|
| 73 | make install</command></userinput></screen>
|
---|
| 74 |
|
---|
[39cb5c3] | 75 | <note><para>If you have <application>Apache</application> installed pass
|
---|
| 76 | the <parameter>--with-apr=/usr</parameter> and
|
---|
| 77 | <parameter>--with-apr-util=/usr</parameter> switches to the
|
---|
| 78 | <command>configure</command> script. Otherwise,
|
---|
| 79 | <application>Subversion</application> will overwrite
|
---|
| 80 | <acronym>APR</acronym> and <acronym>APR</acronym>-utils from
|
---|
| 81 | <application>Apache</application> installation with its own
|
---|
| 82 | files.</para></note>
|
---|
| 83 |
|
---|
[a91dd56] | 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2>
|
---|
| 87 | <title>Configuring <application>Subversion</application></title>
|
---|
| 88 |
|
---|
| 89 | <sect3><title>Config files</title>
|
---|
| 90 | <para><filename>~/.subversion/config</filename>, <filename>/etc/subversion/config</filename></para>
|
---|
| 91 | </sect3>
|
---|
| 92 |
|
---|
| 93 | <sect3><title>Configuration Information</title>
|
---|
| 94 |
|
---|
[d807b5e] | 95 | <para><filename>/etc/subversion/config</filename> is the
|
---|
[a91dd56] | 96 | <application>Subversion</application> system-wide configuration file.
|
---|
| 97 | This file is used to specify defaults for different
|
---|
| 98 | <command>svn</command> commands.</para>
|
---|
| 99 |
|
---|
| 100 | <para><filename>~/.subversion/config</filename> is the user's personal
|
---|
| 101 | configuration file. It is used to override the system-wide defaults
|
---|
| 102 | set in <filename>/etc/subversion/config</filename>.</para>
|
---|
| 103 | </sect3>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2>
|
---|
| 108 | <title>Contents</title>
|
---|
| 109 |
|
---|
| 110 | <para>The <application>Subversion</application> package contains
|
---|
| 111 | <command>svn</command>, <command>svnversion</command>,
|
---|
| 112 | <command>svnlook</command>, <command>svnadmin</command>,
|
---|
| 113 | <command>svndumpfilter</command>, <command>mod_dav_svn</command>
|
---|
| 114 | and <command>svnserve</command>.</para>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2><title>Description</title>
|
---|
| 119 |
|
---|
| 120 | <sect3><title>svn</title>
|
---|
| 121 | <para>The command-line client program.</para></sect3>
|
---|
| 122 |
|
---|
| 123 | <sect3><title>svnversion</title>
|
---|
| 124 | <para>A program for reporting the state of a working copy.</para></sect3>
|
---|
| 125 |
|
---|
| 126 | <sect3><title>svnlook</title>
|
---|
| 127 | <para>A tool for inspecting a Subversion repository.</para></sect3>
|
---|
| 128 |
|
---|
| 129 | <sect3><title>svnadmin</title>
|
---|
| 130 | <para>A tool for creating, tweaking or repairing a Subversion
|
---|
| 131 | repository.</para></sect3>
|
---|
| 132 |
|
---|
| 133 | <sect3><title>svndumpfilter</title>
|
---|
| 134 | <para>A program for filtering Subversion repository dumpfile format
|
---|
| 135 | streams.</para></sect3>
|
---|
| 136 |
|
---|
| 137 | <sect3><title>mod_dav_svn</title>
|
---|
| 138 | <para>A plug-in module for the Apache HTTP Server, used to make your
|
---|
| 139 | repository available to others over a network.</para></sect3>
|
---|
| 140 |
|
---|
| 141 | <sect3><title>svnserve</title>
|
---|
[d807b5e] | 142 | <para>A custom standalone server program, able to run as a daemon process or
|
---|
| 143 | invoked by <acronym>SSH</acronym>.</para></sect3>
|
---|
[a91dd56] | 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | </sect1>
|
---|
| 148 |
|
---|