Search code examples
bazaar

bzr logs: Get just the commit messages


Is there any way to get the logs from a bazaar repository (like with bzr logs -v), but with only the commit messages.

By default, for each commit, you have:
revision number
committer name
branch nick
timestamp
message
files modified.

I would like just the messages.


Some context, in case there is an other way to do what I want:
When I write release notes, I get the commit messages up to the last released version. Before rewriting the commit messages in user friendly english, I need to filter all the other elements. This is boring, and I'd prefer the computer to do it for me :)


Solution

  • bzr log --short, bzr log --line, bzr log --gnu-changelog or just bzr log --gnu.

    See bzr log --usage and also bzr help log-formats.

    One can add custom log formatter via plugin.