[cvsnt] Linefeed conversion problems

Glen Starrett grstarrett at cox.net
Fri Feb 20 02:36:21 GMT 2004


Eric Nicholson wrote:

>Just recently CVS has started intermittently committing files without
>stripping off carriage returns.  What I'm seeing is that the text in the ,v
>file has CRLF (x0D0A) endings, so when I check it out on a different machine
>the file has CRCRLF (x0D0D0A) endings.  It doesn't seem to happen
>predictably, maybe 50% of the time.
>
>There is no unix system anywhere in the picture, and I'm using TortoiseCVS
>as the frontend, with bundled CVSNT 2.0.11.  I did just install the latest
>WinCVS beta if that would affect anything...
>
>  
>
One possible reason:  If someone checked out the file with UNIX line 
endings, then edited it with some unintelligent editor that converts 
without asking, then commits this could explain what happened.  Look at 
the diffs, figure out when the CRCRLF was first introduced, and then 
you'll find the person who was most likely experimenting with the settings.

-- 
Glen Starrett

--(shameless plug)--
Help Scotty get his star: http://www.ScottysStar.com/





More information about the cvsnt mailing list