[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: Bug in CRLF conversions
From: |
Richard Levitte - VMS Whacker |
Subject: |
Re: [Monotone-devel] Re: Bug in CRLF conversions |
Date: |
Wed, 01 Feb 2006 05:47:56 +0100 (CET) |
In message <address@hidden> on Wed, 1 Feb 2006 14:13:18 +1100, Matthew Hannigan
<address@hidden> said:
mlh> On Tue, Jan 31, 2006 at 07:50:51AM -0500, Yury Polyanskiy wrote:
mlh> > Again: solution is trivial. "Transform what I ask you to
mlh> > (LF->CRLF and back) and don't mess with anything special (like
mlh> > CR->CRLF etc)."
mlh>
mlh> The other nice thing about this is that it's perfectly
mlh> reversible, even for 'binary' files.
Provided CRLF would be the internal normal line end form. It is
currently not, so the real transformation on commit would be
CRLF->LF. Then, when checking out, the reverse transformation would
occur, LF->CRLF. Here's where the fun start, what do you think
happens if said binary had an embedded LF somewhere to begin with?
Do you suggest that monotone should have CRLF as the internal normal
line end form?
mlh> On a slightly different note, perhaps it would be best
mlh> for monotone to store the literal version and only transform
mlh> for the purposes of diffing or checksumming/sigs.
What about programs on other platforms than your own that choke on
your line endings?
If it wouldn't be for the differences in standard line end between
some platforms, I'd entirely agree with you.
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis
- Re: [Monotone-devel] Re: Bug in CRLF conversions, (continued)
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Richard Levitte - VMS Whacker, 2006/01/29
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Yury Polyanskiy, 2006/01/29
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Richard Levitte - VMS Whacker, 2006/01/29
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Yury Polyanskiy, 2006/01/29
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Richard Levitte - VMS Whacker, 2006/01/30
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Ethan Blanton, 2006/01/30
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Richard Levitte - VMS Whacker, 2006/01/30
- [Monotone-devel] Re: Bug in CRLF conversions, Bruce Stephens, 2006/01/30
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Yury Polyanskiy, 2006/01/31
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Matthew Hannigan, 2006/01/31
- Re: [Monotone-devel] Re: Bug in CRLF conversions,
Richard Levitte - VMS Whacker <=
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Yury Polyanskiy, 2006/01/31
- [Monotone-devel] Re: Bug in CRLF conversions, Bruce Stephens, 2006/01/29
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Larry Hastings, 2006/01/29
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Richard Levitte - VMS Whacker, 2006/01/30
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Jon Bright, 2006/01/30
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Richard Levitte - VMS Whacker, 2006/01/30
- [Monotone-devel] Re: Bug in CRLF conversions, Bruce Stephens, 2006/01/30
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Zbynek Winkler, 2006/01/30
- [Monotone-devel] Re: Bug in CRLF conversions, Bruce Stephens, 2006/01/30
- Re: [Monotone-devel] Re: Bug in CRLF conversions, Larry Hastings, 2006/01/30