monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: Bug in CRLF conversions


From: hendrik
Subject: Re: [Monotone-devel] Re: Bug in CRLF conversions
Date: Thu, 2 Feb 2006 13:04:59 -0500
User-agent: Mutt/1.5.9i

On Thu, Feb 02, 2006 at 07:11:01AM +0100, Richard Levitte - VMS Whacker wrote:
> 
> Oh, so you and I do understand "reversible" differently.  To me,
> "reversible" means there is a 1 to 1 mapping between the original file
> (the one being checked in) and the resulting file (the one being check
> out) in all possible cases.  If there's any way when a conversion back
> then forth doesn't get you back to the original, I can't see that as
> reversible.  Then again, I'm half Swedish, half French, and English is
> just my third language, so it's quite possible we're hitting a natural
> language issue.  You tell me.

No.  No natural language issue here.

And as far as I can see, the only problem with nontransformable files is 
how to identify them as such.

> 
> Btw, something in Yury's example made me think a bit, and it occured
> to me that if the database line ending would be CRLF and we only
> convert from and to the platform specific line ending, we would have
> something reversible the way I understand "reversible" (this is under
> the condition that no file ever magically appears in the database
> without having been committed to it).  And in this case, it would work
> to do this with ALL files back and forth, even non-transformables.
> Think about it.  However, if we do this, we will get migration hell.

Just to confuse things further, there is a Unicode newline character, 
which is not CR or LF.

-- hendrik





reply via email to

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