1- <!-- $PostgreSQL: pgsql/doc/src/sgml/cvs.sgml,v 1.41 2007/02/01 00:28:16 momjian Exp $ -->
1+ <!-- $PostgreSQL: pgsql/doc/src/sgml/cvs.sgml,v 1.42 2007/03/27 01:45:22 momjian Exp $ -->
22
33<appendix id="cvs">
44 <appendixinfo>
2727 </para>
2828
2929 <para>
30- At leasttwo methods,
31- anonymous CVS and <productname>CVSup</productname>,
30+ At leastthree methods, anonymous CVS, <productname>rsync</productname> ,
31+ and <productname>CVSup</productname>,
3232 are available to pull the <productname>CVS</productname> code tree from the
3333 <productname>PostgreSQL</productname> server to your local machine.
3434 </para>
@@ -270,11 +270,39 @@ cvs commit
270270 </para>
271271 </sect1>
272272
273+ <sect1 id="rsync">
274+ <title>Getting The Source Via <productname>rsync</productname></title>
275+
276+ <para>
277+ An alternative to using anonymous CVS for retrieving the
278+ <productname>PostgreSQL</productname> source tree is
279+ <productname>rsync</productname>, an incremental file transfer tool.
280+ A major advantage to using <productname>rsync</productname> is that it
281+ can reliably replicate the <emphasis>entire</emphasis> CVS repository
282+ on your local system, allowing fast local access to <command>cvs</>
283+ operations such as <option>log</option> and <option>diff</option>.
284+ Other advantages include fast synchronization to the
285+ <productname>PostgreSQL</productname> server due to an efficient
286+ streaming transfer protocol which only sends the changes since the last
287+ update.
288+ </para>
289+
290+ <para>
291+ You can download the CVS repository using this command:
292+ <programlisting>
293+ rsync -avzCH --delete rsync.postgresql.org::pgsql-cvs cvsroot/
294+ </programlisting>
295+ For full instructions, see the "rsync" section in the
296+ <ulink url="http://pgfoundry.org/docman/view.php/1000040/4/PGBuildFarm-HOWTO.txt">
297+ pgbuildfarm instructions</ulink>.
298+ </para>
299+ </sect1>
300+
273301 <sect1 id="cvsup">
274302 <title>Getting The Source Via <productname>CVSup</productname></title>
275303
276304 <para>
277- An alternative to using anonymous CVS for retrieving
305+ Another alternative to using anonymous CVS for retrieving
278306 the <productname>PostgreSQL</productname> source tree
279307 is <productname>CVSup</productname>.
280308 <productname>CVSup</productname> was developed by
@@ -283,16 +311,6 @@ cvs commit
283311 <ulink url="http://www.freebsd.org">FreeBSD project</ulink>.
284312 </para>
285313
286- <para>
287- A major advantage to using
288- <productname>CVSup</productname> is that it can reliably
289- replicate the <emphasis>entire</emphasis> CVS repository on your local system,
290- allowing fast local access to <command>cvs</> operations such as <option>log</option>
291- and <option>diff</option>. Other advantages include fast synchronization to
292- the <productname>PostgreSQL</productname> server due to an efficient
293- streaming transfer protocol which only sends the changes since the last update.
294- </para>
295-
296314 <sect2>
297315 <title>Preparing A <productname>CVSup</productname> Client System</title>
298316