From owner-freebsd-questions Tue Aug 21 8:22:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id D4BBC37B411 for ; Tue, 21 Aug 2001 08:22:19 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b023.otenet.gr [195.167.121.151]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f7LFMGF25767 for ; Tue, 21 Aug 2001 18:22:16 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.4/8.11.4) id f7LDX6n29743; Tue, 21 Aug 2001 16:33:06 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 21 Aug 2001 16:33:06 +0300 From: Giorgos Keramidas To: Bill Moran Cc: questions@FreeBSD.ORG Subject: Re: rcs and binary files Message-ID: <20010821163305.C25065@hades.hell.gr> References: <3B817F2D.F2C24649@iowna.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B817F2D.F2C24649@iowna.com>; from wmoran@iowna.com on Mon, Aug 20, 2001 at 05:20:45PM -0400 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: Bill Moran Subject: rcs and binary files Date: Mon, Aug 20, 2001 at 05:20:45PM -0400 > I'm getting to know the rcs/cvs/etc system little bits at a time. > At this point my question is how does rcs handle binary files? > I know that cvs will use rsync to optimize downloads of changed > binary files, but how does rcs handle checking in/out? Does it > keep some sort of binary diffs? CVS can be used to track changes to binary files, but it doesn't handle binary files very nicely. If you check in a new version, the RCS file contains both versions of the file, and committing many small changes to binary files will soon make the RCS file grow very big. > This is important as I expect to be using rcs/cvs to do a web > project soon. Obviously, keeping track of changes to the gifs > and jpegs will be important. I've added to my CVSROOT/cvswrappers file the following: *.gif -k 'b' *.jpg -k 'b' This makes sure that even if I forget to add the '-k b' option during 'cvs add' the files with gif/jpg extensions will still be treated as binary files by CVS. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message