[RFC] Compact origin information for knit data files
Dmitry Vasiliev
lists at hlabs.spb.ru
Mon Nov 27 12:30:24 GMT 2006
John Arbash Meinel wrote:
> Dmitry Vasiliev wrote:
>> When knit file parser gets a line without any origin information the
>> information will be taken from a previous line which contains such an
>> information within the block of adjacent lines.
>
> I think you have missed that it is already supposed to be doing this,
> and I added a fix for bzr-0.13 to actually do it correctly. Basically,
> we use the index of a revision to refer to it in a later revision. So it
> should be:
>
> rev at id-234-234234 no-eol,fulltext 0 350 :
> rev at id-456-456456 no-eol,line-delta 350 100 1 :
>
> Rather than:
> rev at id-456-456456 no-eol,line-delta 350 100 .revid-234-234234 :
No, I've told about *.knit files not *.kndx.
>> It seems the new repository format version number should be introduced.
>> How repository may be converted into new format (bzr upgrade?)?
>>
>> Thoughts, comments?
>
> This would be a new repository format. Which would mean writing a
> converter, and then using 'bzr upgrade', etc. We have most of the
> infrastructure for doing it if you really want to dig into it. But I
> think you might be misunderstanding some small bits first.
I'm going to write the implementation soon and I guess it should made the
original idea more understandably. :-)
--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
More information about the bazaar
mailing list