[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: WINCVS and MSVC problem

From: Art
Subject: RE: WINCVS and MSVC problem
Date: Fri, 18 Jan 2002 16:22:33 -0600

> -----Original Message-----
> From: address@hidden [mailto:address@hidden 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
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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]