[MERGE] introduce is_ancestor, avoid using get_ancestry

Aaron Bentley aaron.bentley at utoronto.ca
Fri Jul 27 14:27:28 BST 2007


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

Hi all,

We need to stop using Repository.get_ancestry, because it scales with
the size of history.  This patch is a step along the way.

It introduces Graph.is_ancestor, and replaces calls to get_ancestry with
it, as appropriate.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGqfLA0F+nu1YWqI0RAqmgAJ9lmA1i4gCMHsYzz3L/baId4/GCxQCfbD5s
0YoKmIhH9TU6EXfZoGV+nic=
=6BA8
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reduce-ancestry.patch
Type: text/x-patch
Size: 12437 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070727/97c7d9c5/attachment.bin 


More information about the bazaar mailing list