> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Larry Jones > Sent: Friday, January 18, 2002 3:35 PM > To: J�rg R�ppel ... > =?ISO-8859-15?Q?J=F6rg_R=FCppel?= writes: > > > > I have some sourcefiles in my Linux cvs repository. When I ... > That's what happens when you check in files that end with <CR><LF> on > a system where text files end in just <LF> (e.g., checking in Windows > files on Unix). CVS thinks the <CR> is part of the line rather than > part of the terminator. Then when you check the files out on a system > that does use <CR><LF> terminators, you get the <CR> that's part of the > line followed by the <CR><LF> line terminator. The way to avoid this > problem is to never edit or check in a file on a different system than > the one it was checked out (or, for new files, created) on. And never > share working directories between different systems.
Good point, Larry. I installed Cygwin on my Windows98 system so I wouldn't have to reboot to access Unix data, but still build and develope Unix-friendly code. So, I set my Cygwin environment "think" Unix and convert my DOS file format to Unix format whenever I edit them in Vim (via :set ff=unix). This pretty much keeps me out of trouble (I also instinctly purge DOS file format with ":s/^v^M//", if I'm in regular Unix Vi). Art _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
