[PING][MERGE] [BUG #4663] Fix ``bzr log -r`` to support selecting merge revisions.

Kent Gibson warthog618 at gmail.com
Tue Jun 19 16:12:14 BST 2007


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

This patch has been out there a while now.
Aaron has been good enough to give it a +1.
Any one else got the time to give it a once over?

Cheers,
Kent.

Kent Gibson wrote:
> The attached bundle fixes filtering of revisions based on
> revisionspec. `bzr log -rA` and `bzr log -rA..B` now work for all
> supported revisionspecs. That includes other log options such as
> <file>.
>
> This patch is branched off my LogFormatter rework patch, though as
> it turned out the overlap is only incidental.
>
> The patch tries to restructure _show_log so that it generates the
> full set of revisions to be logged, then applies a stack of filters
> to reduce that to the final set to be displayed. The filter stack
> being: revisionspec fileid search (commit message) limit (limits
> the number displayed - will include that in a separate patch)
>
> revisionspec is first since the algorithm I used requires the full
> set of revisions in the branch as a starting point.  limit is last
> since it is to ensure only N revisions are displayed.
>
> The restructuring is not as clean/complete as I'd wanted.  The
> search filter requires the rev.message which is not available until
> the formatting iteration, so the search and limit filters are still
> part of the formatting iteration, not separate layers.
>
> Cheers, Kent.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGd/JOgoxTFTi1P8QRAsFRAJ0dw+00vAGy3xW614IEphA+u4CjEACfUi5X
GNHXnc2MV3kNKhlu33R2V4o=
=jIGF
-----END PGP SIGNATURE-----



More information about the bazaar mailing list