|
From: | Arno Schuring |
Subject: | Re: Ignoring whitespace and CR/LF when checking into repository |
Date: | Thu, 18 Nov 2004 12:38:02 +0100 |
RCS files have unix line endings (regardless of OS, I believe). The CVS client is responsible for the line-ending conversion.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 ?
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.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.
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
[Prev in Thread] | Current Thread | [Next in Thread] |