X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49FBDADA.7060508@cwilson.fastmail.fm> Date: Sat, 02 May 2009 01:32:10 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: cvs-1.12.13-1 References: <2bf229d30905011327t782332fco28e787fc51a87e11 AT mail DOT gmail DOT com> In-Reply-To: <2bf229d30905011327t782332fco28e787fc51a87e11@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Chris Sutcliffe wrote: > After upgrading, whenever I try to execute a CVS command on an > existing CVS repository, I get: > > $ cvs diff > cvs: gzip compression level must be between 0 and 9 > > $ cvs up > cvs: gzip compression level must be between 0 and 9 You don't, by any chance, have the following somewhere in your ~/.cvsrc? cvs -z (and maybe some additional args) If you do, you need to change that to cvs -zN (then the additional args) If doing that "fixes" it, I'm still not sure why your "old" cvs accepted this -z without a (numeric) argument. Here's the code from cvs-1.12.13-1: case 'z': #ifdef CLIENT_SUPPORT gzip_level = strtol (optarg, &end, 10); if (*end != '\0' || gzip_level < 0 || gzip_level > 9) error (1, 0, "gzip compression level must be between 0 and 9"); #endif /* CLIENT_SUPPORT */ break; Here's the code for cvs-1.11.22-1: case 'z': gzip_level = strtol (optarg, &end, 10); if (*end != '\0' || gzip_level < 0 || gzip_level > 9) error (1, 0, "gzip compression level must be between 0 and 9"); break; (and frankly, the code looks the same all the way back to cvs-1.11.17-1 release on 2004-09-15)... -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/