Serializer_v5._pack_revision and _unpack_revision to become public?

John A Meinel john at arbash-meinel.com
Sun Feb 12 18:13:23 GMT 2006


David Allouche wrote:
> Sorry for the slow reply.
> 
> On Wed, 2006-01-18 at 08:40 +1100, Robert Collins wrote:
>> bzr has an api for accessing revisions - branch.get_revision. If there
>> are issues with that API, lets work on them. Conversely, if we are going
>> to add other apis for accessing and storing revisions, we should have a
>> reason to do so. 
> 
> The specific problem is that Branch.get_revision is just unbearably slow
> for the use of bzrk: traversing the whole ancestry.
> 
> On a higher level, the requirement is "get the complete ancestry of a
> revision, with placeholders for ghost revisions".

Is there a reason you can't get the weave and go through the ancestry
map there. And then lazily load the revisions?

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060212/71f8003c/attachment.pgp 


More information about the bazaar mailing list