[Top][All Lists]

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

FW: Spaces added ... and line endings in general

From: Graeme . Vetterlein
Subject: FW: Spaces added ... and line endings in general
Date: Tue, 23 Jan 2001 17:43:40 -0000

-----Original Message-----
From: Graeme Vetterlein 
Sent: Tuesday, January 23, 2001 5:40 PM
To: address@hidden
Subject: RE: Spaces added ... and line endings in general

-----Original Message-----
From: address@hidden

... lots of mess caused by checking my From: line (a SUN behind a
and Emacs insisting on setting my From: to the real machine I'm sending from

(yes I know I should set up site hiding, but since even the userids differ
... oh well)

Sent: Tuesday, January 23, 2001 4:22 PM
To: address@hidden
Subject: Re: Spaces added ... and line endings in general

DP> What is stopping us from writing the db files natively from whatever
DP> platform but allowing any of the three line endings when reading
DP> them in?

LS>  (By "db files" you mean CVS/Entries, CVS/Root, and CVS/Repository,
LS>  right?)

I hope so.

LS>  I agree. This makes sense to me, and would make my life *much* easier.
LS>  IF AND ONLY IF CVS also simultaneously gained the extra intelligence
LS>  to determine the original (checkout time) line-ending convention of
LS>  each *workfile*, and preserve that through subsequent operations.

You can (kind-of) do that today with the -kb option (set via WRAPPERS)

However what would be REALLY useful would be:

        Can set MODE of a file to (say) DOS, UNIX, MAC ... others

(personally I don't need this as all the tools I use accept all conventions

But it would need to be set in variety of ways:

    setting on file, 
    overridden by .rc file, 
    overridden by environment, 
    overridden by cmd options

Why all this complexity? Consider:

    I'm on DOS but I want to edit a shell script run on the PSERVER on Unix

    I'm a web server/cron-job and I'm doing this checkout on the Unix box,
so that
    an overnight build running on a MS-DOS pc can make the binaries U-2-D.

    I'm using a MAC to checkout files to add some comments for my group
    who use MS-DOS pc to develop code :-)

Strikes me this might actualy make the CVS code simpler :-) ... instead
of converting to local conventions (thus needing too know what they
are) you would simply pass the cannonical file through a filter which
'localised' it as requested.


It's no surprise that things are so screwed up: everyone that knows how
to run a government is either driving taxicabs or cutting hair.
                -- George Burns


reply via email to

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