info-cvs
[Top][All Lists]
Advanced

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

Re: How to handle cariage retrun ?


From: Arno Schuring
Subject: Re: How to handle cariage retrun ?
Date: Thu, 9 Sep 2004 07:48:09 +0200

> Hi,
Hi

[...]
>
> 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).
why?

>
> 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 ?
don't use crlf on linux

>
> 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 ?]:
yes you should. There are a number of different options you can try:
- send the file (unzipped) though ftp ASCII mode
- use the dos2unix command after unzipping
- don't use ftp, let cvs handle the file transfer
- use the dos2unix command directly on the repository file (I didn't say
that)

>
> Thanks,
> Didier
HTH,
Arno




reply via email to

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