[MERGE/RFC] buffer_all for get_revision_graph() and get_ancestry()

John Arbash Meinel john at arbash-meinel.com
Fri Nov 30 03:59:01 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
> I know Robert has strong feeling about this, which is why this isn't [MERGE]
> (he has stated clearly that he would bb:reject it anyway).
> 
> But I personally find the attached patch useful. There are a lot of places in
> our code that are using the bad apis get_ancestry() and get_revision_graph().
> The attached patch is a bit of a band-aid, but it has a noticeable impact on a
> lot of commands for me. (bzr merge, bzr status after merge, bzr pull, bzr log).
> 
> John
> =:->
> 

Now with a non-zero length attachment.

This also changes Repository.iter_reversed_lefthand_history() (or whatever it
really is). Because that was showing up as a major factor in the "bzr log"
performance.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHT4qFJdeBCYSNAAMRAqQ4AKCQejnFZQ3qpWq/4f5LnTvge49fcgCg1SqB
0xHhXZyLuNO+A2T9JkRETOQ=
=4D38
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: index_buffer_all.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20071129/d631c429/attachment.diff 


More information about the bazaar mailing list