monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Representing EBCDIC history in monotone


From: Timothy Brownawell
Subject: Re: [Monotone-devel] Representing EBCDIC history in monotone
Date: Tue, 01 Jul 2008 22:47:37 -0500

On Tue, 2008-07-01 at 21:39 -0400, address@hidden wrote:
> On Tue, Jul 01, 2008 at 05:10:28PM -0400, address@hidden wrote:
> > On Tue, Jul 01, 2008 at 03:27:23PM -0400, Jack Lloyd wrote:
> > > On Tue, Jul 01, 2008 at 03:22:05PM -0400, address@hidden wrote:
> > > 
> > > > But there are a few small files containing lots of characters not in 
> > > > the 
> > > > ASCII character set.  These are tables used by the lexical scanner to 
> > > > classify characters.  It makes no sense to translate the weird 
> > > > characters into ASCII.  But leaving them out will violate the 
> > > > development history.
> > > > 
> > > > Any advice?
> > 
> > Perhaps sticking the EBCDIC file in the archive, along with a 
> > separate document explaining it?  That would satisfy the historical
> > record.
> > 
> > And then revising it immediately to a usable ASCII version?
> > There aren't *many* files that would need this treatment, so they won't 
> > take an inordinate amount of space in the data base.
> 
> If I stick an EBCDIC version of a file in the archive, marked binary, 
> because it doesn't have the usual end-of-line markers, and then revise 
> it, creating a new version which is a proper ASCII file with '\n' line 
> endings, can I mark that second version as being normal text even though 
> the first is binary?

Yes.

If you try to merge that with a second descendant of the original
revision, where the other descendant is still flagged as binary, like
so...

    bin-1
   /   \
  /     \
bin-2   text
  \    /
   \  /
    ??

...it should be treated as binary (manual_merge) in that merge, even tho
the resulting mtn:manual_merge attribute value is false (text file /
auto merge).





reply via email to

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