Revenge of the pretty pictures

Aaron Bentley aaron.bentley at utoronto.ca
Fri Sep 23 14:49:30 BST 2005


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

John Arbash Meinel wrote:
> One other thing. It might be nice to suppress all nodes that are less
> than a certain distance from the root.
> Actually, I would like to suppress ones that are a certain distance from
> THIS, but that is probably harder to do.

It's harder in theory, but you might be able to just call
node_distances(self.ancestors, self.descendants,
self.branch.last_patch(), all_descendants(ancestors,
self.branch.last_patch()))

Note that I've deliberately reversed ancestors and descendants here.

> I'm just thinking that one of these graphs gets really messy, and only
> gets worse as time goes on. So we need a way to reduce the amount of
> history we have to look at.

We could probably hack that into compact_ancestors/can_skip without too
much trouble.

Aaron

P.S.  We now have convergence on bzr.integration, bzr.24 and bzr.dev.
Do a "graph-ancestry bzr.24 --merge base bzr.dev", and check out the
orange boxes at just before the merge base!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDNAfq0F+nu1YWqI0RAgEhAJ9qfzcdIUf4tcGEc4Sac9Gv1OnYbQCfX1VL
Q9YT6RfzvPq+B7gxV+bWVEU=
=+IyT
-----END PGP SIGNATURE-----




More information about the bazaar mailing list