[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs server not translating line endings correctly
From: |
David H. Thornley |
Subject: |
Re: cvs server not translating line endings correctly |
Date: |
Thu, 05 Apr 2001 16:18:00 -0500 |
Larry Jones wrote:
>
> It's up to the client to convert from the local line ending conventions
> to the cannonical LF-only format before sending the file to the server
> (for non-binary files; binary files never undergo conversion). If you
> use a Unix client to checkin DOS files, you will not get the correct
> conversion. Likewise, some clients have configurable line ending
> conversions and configuring them incorrectly will cause the same problem
> (I think WinCVS falls into this category, but I'm not sure; and I have
> no idea whether cygwin does or not).
>
>From my experiences with cygwin using Samba, yes it is a problem,
and one which I will hope to solve this month by going client-server.
BTW, this will leave a bunch of ,v files in the repository with
the ^Ms on them. If I were to run some sort of ^M-removing
script on them, should they be perfectly usable afterwards?
Are there things to watch for that I wouldn't notice immediately
after running it (I figure I back up and test immediately)?
--
David H. Thornley Software Engineer
at CES International, Inc.: address@hidden or (763)-694-2556
at home: (612)-623-0552 or address@hidden or
http://www.visi.com/~thornley/david/