[Mono-list] A possible reason for getting newline problems

Serge serge@wildwestsoftware.com
Wed, 6 Mar 2002 23:09:08 +0200


> This is very interesting.  Could you update the documentation in
> `mono/doc/' to mention this flag?

There is one caveat.
-kb prevents keywords expansion and even though it was advised not to use
CVS keywords in Mono (there was a discussion some time ago), it seems wrong
to enforce use of this option.
Since the problem with checkouts appears to be due to improperly mounted
Cygwin drives (textmode mount) it seems more appropriate to fix the cause.
Actually, it seems that there are two distinct problems, one is textmode
checkout and another is using an editor that can't handle default line-ends.

Anyhow, I worked with both types of files in Mono CVS - my C# sources have
DOS-style line-end, and my C sources have Unix-style line-end, works just
fine. In fact, editor problem appears to be much more annoying ;-)

Sergey


----- Original Message -----
From: "Miguel de Icaza" <miguel@ximian.com>
To: "Martin Baulig" <martin@gnome.org>
Cc: "Matt Liotta" <mliotta@iname.com>; "Mono" <mono-list@ximian.com>
Sent: Wednesday, March 06, 2002 9:27 PM
Subject: Re: [Mono-list] A possible reason for getting newline problems


> > Btw. using the -kb flag on checkout or update is something else (it
> > doesn't affect how the file is stored in the repository) than using it
> > with cvs add (specifies how the file is to be stored in the
> > repository).
>
> This is very interesting.  Could you update the documentation in
> `mono/doc/' to mention this flag?
>
> Miguel
>