[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checkout text files with the Unix LF (Oxa) - from command line
From: |
Mike Castle |
Subject: |
Re: Checkout text files with the Unix LF (Oxa) - from command line |
Date: |
Fri, 5 Oct 2001 10:40:51 -0700 |
User-agent: |
Mutt/1.3.18i |
On Fri, Oct 05, 2001 at 09:40:14AM +0200, PS wrote:
> I use WinCvs with checked option "Checkout text files with the Unix LF
> (Oxa)".
I would consider this a design flaw in WinCvs.
> And then I have a problem, because all updated files have every second line
> empty. What to do to run that option (Unix LF) when I use cvs from command
> line in Windows.
You don't.
Either check the files out on a Unix box, or make it part of your build
process to transform the files from native format to Unix format.
check out file1.native
switch platform:
case DOS|NT:
dos2unix file1.native file1.unix
case UNIX:
cp file1.native file1.unix
case MAC:
mac2unix file1.native file1.unix
default:
error out unsupported platform
use file1.unix
mrc
--
Mike Castle address@hidden www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc