info-cvs
[Top][All Lists]
Advanced

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

Re: Ignoring whitespace and CR/LF when checking into repository


From: Arno Schuring
Subject: Re: Ignoring whitespace and CR/LF when checking into repository
Date: Thu, 18 Nov 2004 12:38:02 +0100

These make me ask more questions.

What is the default line ending character for ASCII files store in a
repository ?. Is this varies from OS to OS ?.
Does CVS client or server is supposed to perform the line ending
character conversion when a ASCII file is committed ?
RCS files have unix line endings (regardless of OS, I believe). The CVS client is responsible for the line-ending conversion.


Now the root cause of my problem is that when checked in by windows
developers using Eclipse it have CR/LF as line ending character and it
is stored as it is. Now I want that all files must be stored in Unix
format.
Eclipse has an option "treat all new files as binary" which might be causing your problems. cvs does not convert line endings in binary files.

The ,v-files in the repository should not have any CR/LF line endings. I got away with using dos2unix -f directly on the respository.


Regards,
Arno



reply via email to

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