Some simple log patches ideal for new hackers to try

Ian Clatworthy ian.clatworthy at internode.on.net
Fri Jan 30 09:38:36 GMT 2009


I've just posted a patch expanding the help for log.
It highlights some areas in need of some love, namely:

* directory logging
* add merge indicators to the long & line formats
* support foreign vcs properties in short format.

The last two are pretty simple patches so I was hoping
someone new to Bazaar and interested in hacking on the
code might like to have a go at them. Any takers?

FWIW, I'm focussing my efforts on the directory logging
work. That will require another day or two to get working
(and probably several days after that to make it fast).

Here's some information for anyone interesting in helping.

1. Merge Indicators

It's nice to see history collapsed and then drill down on
interesting merges. The short format makes that easy by
putting [merge] at the end of the top line if a revision
is a merge. It would be good if the line format did something
similar, say just before the commit message. Note that this
has never been an issue with long format because it always
showed merged revisions nested. With the -n0 option though,
those nested revisions may be hidden and it isn't obvious
which ones are merges. Perhaps long should have a new line
added something like:

  merge tips: 1.200.3, 34.2.56

2. Foreign VCS Properties

This is already handled by long. Adding it to short should
be a cut and paste job. To complete the patch, a test and
NEWS entry are needed.

Being Python, hacking on Bazaar is fun! If you're interesting
in getting started, the above two patches may be a nice
starting point.

Ian C.



More information about the bazaar mailing list