From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: "checksum failure after patch" in CVS Date: Tue, 05 Jul 2005 00:47:51 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120514120 18018 80.91.229.2 (4 Jul 2005 21:55:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2005 21:55:20 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 23:55:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DpYu3-0001Wc-Vi for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 23:55:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpYuX-0005FH-CC for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 17:55:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpYu2-00054i-UJ for emacs-devel@gnu.org; Mon, 04 Jul 2005 17:54:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpYtp-0004un-1H for emacs-devel@gnu.org; Mon, 04 Jul 2005 17:54:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpYto-0004sf-JZ for emacs-devel@gnu.org; Mon, 04 Jul 2005 17:54:44 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpYt4-00032B-MM for emacs-devel@gnu.org; Mon, 04 Jul 2005 17:53:58 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-241-110.inter.net.il [84.228.241.110]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id BTI05994 (AUTH halo1); Tue, 5 Jul 2005 00:47:53 +0300 (IDT) Original-To: Juanma Barranquero In-reply-to: (message from Juanma Barranquero on Mon, 4 Jul 2005 16:47:24 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40366 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40366 > Date: Mon, 4 Jul 2005 16:47:24 +0200 > From: Juanma Barranquero > > On 7/4/05, Juanma Barranquero wrote: > > > P config.bat > > cvs update: checksum failure after patch to ./config.bat; will refetch > > Weirdly enough, it all worked again after > > C:\...\HEAD> cvs -q update -kb config.bat > U config.bat > C:\...\HEAD> cvs -q update That's a known problem: it means that config.bat didn't have -kb in your CVS/Entries file prior to the first "cvs update" (without -kb). That's why the first "cvs up" did a P(atch) instead of U(pdate). When it tries to patch a file with DOS-style line-endings, the checksum never works out due to EOL munging by the client (it blindly adds a CR before each LF, even if there's already a CR).