newformat format change

John A Meinel john at arbash-meinel.com
Tue Oct 4 15:55:07 BST 2005


James Blackwell wrote:
> On Fri, Sep 30, 2005 at 11:41:26AM -0500, John A Meinel wrote:
>
>>I still think that xml is decent for long-term storage. It allows
>>nesting, which is something that RFC822 doesn't. Which is why it makes a
>>lot of sense for potentially nested inventories (which hasn't happened
>>yet, but still could.) But even without nested inventories, it would get
>>pretty complex to try and write RFC822 inventory information, since you
>>have a lot of files in an inventory, and a lot of information about each
>>file.
>
>
> Did I read in another thread that XML was compressing poorly?

The issue is that the revision XML is all on 1 line, so any change, and
the Weavefile has to create a new entry. And for revisions, an attribute
always changes.

If you broke it up, such that each attribute was on its own line, then
it compresses about the same, as a similar non-XML which uses one line
per attribute (RFC822). (You can generally keep the <revision line, the
committer= line, and the timezone= lines).

I think Revision could be defined as RFC822 without too much difficulty,
but Inventories are quite a bit more complicated. You would have to be
RFC822-like, not genuine RFC822.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051004/b7150b01/attachment.pgp 


More information about the bazaar mailing list