delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/15/14:26:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <00bf01c1fc3e$0063ffd0$010b10ac@bluesguitar.org>
From: "Matthew Smith" <matts AT bluesguitar DOT org>
To: "Cygwin" <cygwin AT sources DOT redhat DOT com>
References: <20020512044943 DOT GA5997 AT redhat DOT com> <3CE28FA4 DOT 6080402 AT earthlink DOT net> <3CE2A07E DOT 6040101 AT ece DOT gatech DOT edu>
Subject: Re: Changes in latest snapshot
Date: Wed, 15 May 2002 13:26:16 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

I was bitten by this recently too.  In addition to .cvspass and .cvsrc, you
probably will need to run dos2unix on the files beneath the CVS directory
under each directory of your cvs sandbox.

cheers,
-Matt Smith

> > The only thing I could do was to go back to a "textmode" system mount.
>
> I use binmode mounts all the time.  cvs login works for me.  Don't blame
> binmode/textmode.
>
> I think you should look at ~/.cvspass and make sure it doesn't have /r/n
> line endings.  Imagine thie:
>
> :pserver:anoncvs AT anoncvs DOT cygnus DOT com:/cvs/src Ay=0=h<Z \r\n
> :pserver:anoncvs AT subversions DOT gnu DOT org:/cvs A \r\n
>
> Then, you switch to binmode, and do another cvslogin, resulting in this:
>
> :pserver:anoncvs AT anoncvs DOT cygnus DOT com:/cvs/src Ay=0=h<Z \r\n
> :pserver:anoncvs AT subversions DOT gnu DOT org:/cvs A \r\n
> :pserver:anoncvs AT sources DOT redhat DOT com:/cvs/src Ay=0=h<Z \n   <<<< no \r
>
> The next time the .cvspass file is read in, cvs is confused  by the
> presence of the \r's in the first two lines.  (Which it never saw
> before, thanks to textmode).
>
> Use switch back to binmode, use dos2unix on .cvspass (and .cvsrc for
> that matter), and try again...



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019