What to do about 'revid in ancestry' checks.

Aaron Bentley aaron.bentley at utoronto.ca
Thu Jul 19 04:39:48 BST 2007


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

Robert Collins wrote:
> There are multiple places in bzr which do set inclusion tests like
> 'if rev_id in ancestry'
> where ancestry is obtained by Repository.get_ancestry.
> 
> To avoid scaling problems this needs to be delegated to the repository
> index, *or* get_ancestry has to return a smart/lazy set object.

I think set inclusion tests are pretty clearly the domain of the Graph
object, actually.  Doesn't that make sense to you?

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

iD8DBQFGnt0E0F+nu1YWqI0RAmzkAJ9AyDbpZAWRmlRxgGW2bPYPG/2o0wCePPpu
0i2VHsaXHyu+vXPaordLf+g=
=IGby
-----END PGP SIGNATURE-----



More information about the bazaar mailing list