[Top][All Lists]

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

Re: Consistency of text file format (CR/LF and LF formats)

From: Larry Jones
Subject: Re: Consistency of text file format (CR/LF and LF formats)
Date: Wed, 19 Nov 2003 10:23:48 -0500 (EST)

Jonathan ILIAS writes:
> I often work on project where it is difficult to force developpers to 
> use the same development environment. Thus, some files are in CRLF 
> format and others in LF format. There is no problem here, almost every 
> recent text editor read and write any of these formats.

You don't need to force the developers to use the same development
environment, you just need to force them to use a version of CVS that
conforms to whatever development environment they're using.

> I think this is a CVS client side problem but it would be better if CVS 
> server (the one which writes on the repository) was able to keep each 
> file's end of line format consistensy.

The CVS server cannot read your mind -- how is it supposed to know
whether a CR is supposed to be data or part of a line terminator?  Only
the client knows what the local text file format is, so it's up to it to
convert to and from the neutral form that's used in the client/server

-Larry Jones

He's just jealous because I accomplish so much more than he does. -- Calvin

reply via email to

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