[RFC] provide an API to easily create commands that iterate over a range of revisions
aaron.bentley at utoronto.ca
Mon Jul 24 15:11:32 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Matthieu Moy wrote:
> Indeed, I think that "log" is just one instance of "iterate over a set
> of revisions", and I think something more general than show_log can be
> written, taking two revisions, a location, and a callback function.
> show_log would be only a wrapper around this, defining the right
> callback, and plugins could use this function too.
> Any opinion ?
I think this is wrong; attempting to do this to log would hobble
performance, because it would prevent us from retrieving all of our data
at once. Sometimes we need merges, sometimes we don't. Sometimes we
need RevisionTrees, sometimes we don't.
I would recommend that we adapt show_log to your needs, instead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar