This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Changes in latest snapshot


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@anoncvs.cygnus.com:/cvs/src Ay=0=h<Z \r\n
> :pserver:anoncvs@subversions.gnu.org:/cvs A \r\n
>
> Then, you switch to binmode, and do another cvslogin, resulting in this:
>
> :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src Ay=0=h<Z \r\n
> :pserver:anoncvs@subversions.gnu.org:/cvs A \r\n
> :pserver:anoncvs@sources.redhat.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]