info-cvs
[Top][All Lists]
Advanced

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

Re: Forcing DOS line endings on checkout/update


From: Mike Castle
Subject: Re: Forcing DOS line endings on checkout/update
Date: Tue, 31 Jul 2001 21:32:27 -0700
User-agent: Mutt/1.3.18i

On Tue, Jul 31, 2001 at 07:09:42PM -0700, Bruce Hill wrote:
> We have a similiar problem here.  We need some files, such as Win32 batch
> files, to retain their DOS line endings.  Other files, particularly Unix
> shell scripts and makefiles, need to retain their Unix line endings.  We

I'm trying to understand why this is an issue?

I have a respository that is chock full of unix scripts and dos batch
files.

I NEVER worry about keeping dos or unix file endings on the lines.  The
reason I never worry is because I never try to share a single sandbox
across two platforms.

Because I never worry, I can, with confidence, make changes to a script or
batch file on either platform and commit with no difficulties or worries.

Of course, I never share sandboxes between ANY two machines.  If I'm
working on Win98 and WinNT, two sandboxes, one for each machine.  If I'm
working on Linux and Solaris, two sandboxes, one for each machine.

Heck, if I'm working on two separate problems, I often have multiple
sandboxes on the SAME machine, so I don't mix/match on that level either!

Don't share your sandboxes, and there is never a need to worry about line
endings!

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



reply via email to

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