[MERGE] log mainline only by default

Ian Clatworthy ian.clatworthy at internode.on.net
Thu Mar 26 13:16:30 GMT 2009


As I've mentioned many times, I'm a big fan of UIs that
adopt a philosophy of progressive disclosure vs throwing
too much information at you at once. There are at least
2 places in our UI that suffer from this:

* log shows nested revisions by default
* ls recurses by default

This patch addresses the first of these. I had flagged months
ago my desire to make short the default log format. Jelmer
suggested that making --long show the mainline by default was
a less disruptive change. I agree so this patch does that,
updating tests and user documentation accordingly.

In summary, this patch is good because:

* it makes progressive disclosure the default in log
* it makes --long consistent with --short and --line
* it lets log show incremental results instantaneously
  (vs 100s for building the full merge graph on OOo before
  showing anything)
* it makes 'bzr log' faster overall.

We like to land UI changes like this early-ish in the
development cycle so bzr.dev users have time to evaluate them.
For 1.14, we're still probably 2 weeks from RC so I think
there's still plenty of time for that. Futhermore, this
isn't a new UI (like progress bars were say) - the existing
output has been in use since 1.12 (using 'bzr log -n0').

Ian C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log-mainline-by-default.patch
Type: text/x-diff
Size: 15472 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090326/58278376/attachment.bin 


More information about the bazaar mailing list