Joe Conway wrote:
> Andrew Dunstan wrote:
>
>> In postgres.cvsup:
>>
>> # complete distribution, including all below
>> pgsql
>> earthdistance
>>
>
> I've been using this in postgres.cvsup
>
> # complete distribution, including all below
> repository
>
> I think Marc told me to use that at one point.
>
>
Here's a small doc patch so this info is not hidden - getting this
working was mildly annoying until I found out about using refuse files.
Now it's working like a champ.
cheers
andrew
Index: doc/src/sgml/cvs.sgml
===================================================================
RCS file: /home/cvsmirror/pgsql-server/doc/src/sgml/cvs.sgml,v
retrieving revision 1.27
diff -c -w -r1.27 cvs.sgml
*** doc/src/sgml/cvs.sgml 29 Nov 2003 19:51:36 -0000 1.27
--- doc/src/sgml/cvs.sgml 26 Sep 2004 18:55:50 -0000
***************
*** 431,436 ****
--- 431,451 ----
</para>
<para>
+ If you specify <option>repository</> instead of <option>pgsql</>
+ in the above setup, you will
+ get a complete copy of the entire repository at cvsup.postgresql.org,
+ including its CVSROOT directory. If you do that, you will probably want
+ to exclude those files in that directory that you want to modify locally,
+ using a refuse file. For example, for the above setup you might put this
+ in <filename>/home/cvs/sup/repository/refuse</>:
+ <programlisting>
+ CVSROOT/config*
+ CVSROOT/commitinfo*
+ CVSROOT/loginfo*
+ </programlisting>
+ See the <productname>CVSup</> manual pages for how to use refuse files.
+ </para>
+ <para>
The following is a suggested <productname>CVSup</productname> config file from
<ulink url="ftp://ftp.postgresql.org/pub/CVSup/README.cvsup">the <productname>PostgreSQL</> ftp site</ulink>
which will fetch the current snapshot only: