[PATCH] Improved log functionality

John A Meinel john at arbash-meinel.com
Mon Jun 27 22:26:04 BST 2005


John Arbash Meinel wrote:

>The attached patch improves 'bzr log' such that it doesn't have to
>evaluate as many logs. The previous code had to do all of the parsing to
>figure out what to throw away (this was especially painful for handling
>deltas with a limited range).
>The new code filters revisions before asking for deltas to be generated.
>
>Also, it now handles "--forward" correctly, even when verbose.
>
>I use bzr log -r 630: all the time to figure out what Martin has changed
>recently, and the attached patch makes it so that I can add "--verbose"
>without it having to parse all of the history.
>
>I think this could be merged into 0.0.5, since it is an incremental
>thing, not a major change.
>
>John
>=:->
>
>
I re-applied the patch to the latest bzr.dev, and am re-submitting it.
I think I submitted this before patchwork was up and running, which is
why there have been no comments.

Short summary:
implements bzr log --forward --verbose
optimizes so that only logs to be printed are read (rather than reading
all and filtering out unwanted).

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: improved-logs.patch
Type: text/x-patch
Size: 2815 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050627/48fd39e1/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050627/48fd39e1/attachment.pgp 


More information about the bazaar mailing list