Jo Vermeulen wrote:
> I'm experiencing some weird problems when using keyword 
> expansion in CVS
> (things like $Date$, $Author$, ...). I created my files with 
> Vim, but when
> I added keyword expainsion and submitted them to CVS, they 
> were all f*cked
> up.
> 
> In Vim every line ends with a ^W character. In Emacs it is 
> displayed as a
> ^M character. On Windows every line seems to have an extra 
> carriage return.
Some rules when dealing with CVS:

- Always modify files on the same platform you used to check them out. IOW,
don't check out under Linux and edit the file under Windows. Be careful with
Cygwin - it can be either a Linux-style line ending or a Windows-style line
ending, depending on how you installed it.

- Make sure your editor is configured to use the line-ending for the
platform you used to check the files out. IOW, make sure your editor inserts
CRLF under Windows, and plain LF under *NIX.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to