X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 8947430E925 for ; Tue, 10 Jun 2003 08:59:45 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 61057-04 for ; Tue, 10 Jun 2003 05:59:35 -0300 (ADT) Received: from webmail.muc.domues.com (webmail.muc.domeus.com [62.67.54.176]) by svr1.postgresql.org (Postfix) with ESMTP id 402A43117EC for ; Tue, 10 Jun 2003 05:32:42 -0300 (ADT) Received: from coppola.ecircle.de ([192.168.1.142]) by webmail.muc.domues.com (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id h5A8WO501765; Tue, 10 Jun 2003 10:32:24 +0200 Subject: Re: [GENERAL] Binary files in CVS From: Csaba Nagy To: Bruce Momjian Cc: Tom Lane , PostgreSQL-documentation In-Reply-To: <200306062158.h56Lwet18397@candle.pha.pa.us> References: <200306062158.h56Lwet18397@candle.pha.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-11) Date: 10 Jun 2003 10:32:23 +0200 Message-Id: <1055233944.922.10.camel@coppola.ecircle.de> Mime-Version: 1.0 X-Archive-Number: 200306/26 X-Sequence-Number: 1812 I have also found the following files to be binary: contrib/spi/preprocessor/step1.e doc/src/graphics/catalogs.cgm The first one is OS specific, so I guess it will cause no problem if it's not marked as binary, and it's not already corrupted. Note that the binary flag is also useful to avoid CVS to do keyword substitutions (like the $Id $ things). So if you get a binary file which contains by some chance the string "$Id $", CVS will kindly substitute it for you with the usual version/date stuff. This is why adding the binary flag is recommended even if you don't want to go cross platform. Cheers, Csaba. On Fri, 2003-06-06 at 23:58, Bruce Momjian wrote: > > I found the following binary files: > > ./doc/src/graphics/catalogs.gif > ./doc/src/graphics/clientserver.gif > ./doc/src/graphics/connections.gif > ./src/tools/backend/flow.gif > > and marked them as you suggested using CVS. > > --------------------------------------------------------------------------- > > Csaba Nagy wrote: > > You can do it with the "cvs admin -kb __file_list__" command. > > > > Cheers, > > Csaba. > > > > On Mon, 2003-06-02 at 21:56, Tom Lane wrote: > > > Bruce Momjian writes: > > > > Can someone comment on this? I didn't know CVS had a binary flag, but I > > > > see it in the docs now. > > > > > > I believe the binary files *should* be marked -kb, but I don't know CVS > > > well enough to know how to fix the setting on an existing file. > > > > > > regards, tom lane > > > > > > > > > > > -- > Bruce Momjian | http://candle.pha.pa.us > pgman@candle.pha.pa.us | (610) 359-1001 > + If your life is a hard drive, | 13 Roberts Road > + Christ can be your backup. | Newtown Square, Pennsylvania 19073 >