[Top][All Lists]

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

How to handle cariage retrun ?

From: Didier
Subject: How to handle cariage retrun ?
Date: Thu, 09 Sep 2004 02:09:00 +0200
User-agent: Opera M2/7.53 (Win32, build 3850)


I tried to find a response to my problem in the archives, but I didn't.

I use WinCvs Client to manage files on a linux Cvs server.
No problems when I do this way.

Now I wanted to upload a text file (zipped on Windows) via ftp and then unzip and commit it directly on the server (using telnet).

The problem is that it has changed the cariage return.
Any Windows client updating this file gets now only "/n" cariage retruns, insted of "/r/n".

Could someone propose a solution to update a file with crlf on a linux server without changing the crlf for the windows clients ?

I also found this in the cvs help. [Does it mean that I should have used a text file with only "/n" cariage return to make my commit on linux ?]:
How to store binary files
There are two issues with using CVS to store binary files. The first is that CVS by default converts line endings between the canonical form in which they are stored in the repository (linefeed only), and the form appropriate to the operating system in use on the client (for example, carriage return followed by line feed for Windows NT).


reply via email to

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