[Top][All Lists]

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

CRLF Problem with Delphi and WinCVS

From: Mainlander
Subject: CRLF Problem with Delphi and WinCVS
Date: Tue, 16 Dec 2003 16:30:54 +1300
User-agent: MicroPlanet-Gravity/2.70.2061

I am using Delphi 5 with WinCVS 1.2 to commit stuff onto Sourceforge's 
CVS server. there has been a persistent problem ever since I reinstalled 
WinCVS after reinstalling Windows. I was able to use my existing SSH 
installation without having to reinstall SSH as well, since it didn't 
rely on files in the Windows directory.

The problem is that WinCVS is altering my source files on my PC, changing  
CRLF combinations to LF only before it sends the file to Sourceforge. I 
can understand that it would need to alter this for compatibility 
reasons, but it shouldn't be doing this to the files on my hard drive 
because Delphi can't understand the LF character as end of line and 
formats the lines as one long line. This always happens in the part of 
the file that has changed since the last commit. So every time I have to 
open the file with a text editor and reformat the long lines into 
separate lines ended by CRLF as they were originally formatted.

Is there a setting in WinCVS that prevents this from happening, it never 
happened before.

Full featured open source Win32 newsreader - Gravity 2.70

reply via email to

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