[PATCH][RFC] Make log filename faster

Aaron Bentley aaron.bentley at utoronto.ca
Wed Mar 29 16:17:40 BST 2006


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

Robert Collins wrote:
> So the question resolves around 'what does it mean to do "log
> FILENAME"' ?

I think 'bzr log FILENAME' means 'show me the mainline revisions in
which this file changed'.  Showing the merges that introduced changes is
nice, too.

You could accomplish this efficiently by
1. determining which revisions altered the file (as you're doing in this
patch)
2. determining which mainline revisions merged those revisions (e.g.
using the inventory weave)
3. checking the relevent inventories to ensure that the file was
actually changed.

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

iD8DBQFEKqUU0F+nu1YWqI0RAg09AJsFy4IvVW9o+D+/ZSpKNvyAGGh/4gCffUtG
GhuvZghe17EImeueF+d4x0U=
=g4Wa
-----END PGP SIGNATURE-----




More information about the bazaar mailing list