[MERGE] Delegate basis inventory calculation during commit to the CommitBuilder object.

Robert Collins robertc at robertcollins.net
Mon Oct 13 05:47:51 BST 2008


This branch contains three changes aimed at improving commit performance
on split inventory repositories.

It:
 - adds an API for for adding inventory objects to a repository via an
inventory delta. This is not used by any format in trunk, but its
closely related to the rest of the branch in my repository branch.
 - teaches CommitBuilder to support generating an inventory delta in the
builder object itself, which allows a split inventory repository to
apply the delta rather than reserialising the entire thing.
 - teaches commit to use this feature on CommitBuilder

The performance change should be zero for current repositories;
repositories with split out inventories can override finish_inventory in
CommitBuilder to take advantage of these changes.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit-delta-3778.patch
Type: text/x-patch
Size: 29409 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081013/04d614a0/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081013/04d614a0/attachment-0001.pgp 


More information about the bazaar mailing list