DOCS Bundle format 4 aka 1.0alpha

Martin Pool mbp at sourcefrog.net
Mon Jun 25 04:37:59 BST 2007


On 6/22/07, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:

> >    which is a
> >     * container file which contains a series of records, each with a
> > storage type and name, and containing some headers
>
> I have actually updated it so that the headers are in their own record,
> and the body is in the next record.  Why write my own code for splitting
> headers and bodies when I can just use what the container format provides?

I was wondering the same thing...

> > I think current inventory and revision records have their own version
> > marker at the start.  You could check that when inserting them and we
> > should make sure we continue with that in the future.
>
> You mean the fulltexts?  They do, but since I'm transmitting deltas,
> they may not appear.
>
> I was planning on describing the XML serializer in the info record.

Oh, good point.

> They don't seem like the kind of thing you would want to index.  Also, I
> didn't want to work out an involved encoding scheme, and Bencode lets me
> use a useful range of value types.

If you store them as a separate record before the body that would
resolve my concern.

-- 
Martin



More information about the bazaar mailing list