Bundles and --2a
Robert Collins
robertc at robertcollins.net
Wed Jul 15 23:26:09 BST 2009
On Wed, 2009-07-15 at 17:15 -0500, John Arbash Meinel wrote:
>
> So one possibility would be to redefine the meaning of
> 'make_mpdiffs()'
> for CHKInventoryRepository.inventories. Instead of getting the text
> stream of the 'inventory' lines and mpdiffing them, it would instead
> use
> CHKSerializer.write_inventory_to_string() and then mpdiff that set of
> texts.
>
> (effectively, upcast all inventories to an XML representation, compute
> the mpdiff of that, and then write that into the bundle. On the other
> side, it would do the reverse operation and insert_mpdiffs() on
> 'repo.inventories' would then also be writing data to
> repo.chk_bytes.)
It could also use the network delta serializer to get direct diffs out.
This would require a bzr that can read that, so probably a bundle format
bump;
I think it would be good to do both:
- fix the current bug by upcasting
- add a new bundle that uses semantic deltas not deltas-of-xml.
-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090716/dbb06a73/attachment.pgp
More information about the bazaar
mailing list