| www.delorie.com/archives/browse.cgi | search |
| 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 <cygwin AT cwilson DOT fastmail DOT fm> |
| 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: | <announce DOT 20090501052958 DOT 406AA11103 AT heartbeat1 DOT messagingengine DOT com> <2bf229d30905011327t782332fco28e787fc51a87e11 AT mail DOT gmail DOT com> |
| In-Reply-To: | <2bf229d30905011327t782332fco28e787fc51a87e11@mail.gmail.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |