From xemacs-m  Thu Feb 27 09:45:36 1997
Received: from mailhost.lanl.gov (mailhost.lanl.gov [128.165.3.12])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA04223
	for <xemacs-beta@xemacs.org>; Thu, 27 Feb 1997 09:45:34 -0600 (CST)
Received: from branagh.ta52.lanl.gov (branagh.ta52.lanl.gov [128.165.144.9]) by mailhost.lanl.gov (8.8.5/8.8.3) with SMTP id IAA17587 for <xemacs-beta@xemacs.org>; Thu, 27 Feb 1997 08:45:33 -0700 (MST)
Received: by branagh.ta52.lanl.gov (SMI-8.6/SMI-SVR4)
	id IAA08713; Thu, 27 Feb 1997 08:41:29 -0700
Date: Thu, 27 Feb 1997 08:41:29 -0700
Message-Id: <199702271541.IAA08713@branagh.ta52.lanl.gov>
From: "John A. Turner" <turner@branagh.ta52.lanl.gov>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: CVS and binary files (was Re: What is 19.15-b95patch...)
In-Reply-To: <199702271334.OAA10003@daedalus.tnt.uni-hannover.de>
References: <199702261426.PAA08899@daedalus.tnt.uni-hannover.de>
	<m267zf1knz.fsf@altair.xemacs.org>
	<199702271334.OAA10003@daedalus.tnt.uni-hannover.de>
Reply-To: turner@lanl.gov

Heiko Muenkel writes:
 > (Puh, I hope this is the last try to send this email :-()
 > 
 > >>>>> "sb" == Steven L Baur <steve@miranova.com> writes:
 > 
 >     sb> It contains binary files that cannot be patched up or text
 >     sb> files that for whatever reason CVS chokes and dies on when
 >     sb> generating the patch kit.
 > 
 >     sb> 1997 lisp/hm--html-menus/command-description.html.tmpl
 >     sb> -rw-r--r-- steve/devel 827 Feb 22 14:07 1997
 >     sb> lisp/hm--html-menus/frame.html.tmpl -rw-r--r-- steve/devel
 > 
 > It seems, that the same character (I mean the one you've to insert in
 > a buffer with C-q C-@) which makes trouble in an email is also
 > responsible for the trouble you've had with my files and CVS.
 > 
 > Shouldn't anyone report this bug to the CVS maintainers?

I'm not sure what exactly you're trying to do, but if you're putting
binary files under CVS, be *sure* to use -kb when adding them to the
repository, so CVS will turn off end-of-line conversions and keyword
expansions.

That is, you should do:

cvs add -kb -m"New file" foo
cvs commit -m"Added to repository" foo

If a binary file has accidentally been added w/o -kb, use cvs admin to
change it.  RTFM for more info.

-- 
John Turner
http://www.lanl.gov/home/turner

