Merge lp:~gagern/bzr/bug513322-authors into lp:bzr
Proposed by
Martin von Gagern
Status: | Superseded |
---|---|
Proposed branch: | lp:~gagern/bzr/bug513322-authors |
Merge into: | lp:bzr |
Diff against target: |
311 lines (+206/-9) 4 files modified
NEWS (+4/-0) bzrlib/builtins.py (+9/-2) bzrlib/log.py (+48/-7) bzrlib/tests/test_log.py (+145/-0) |
To merge this branch: | bzr merge lp:~gagern/bzr/bug513322-authors |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Needs Fixing | ||
Review via email: mp+22609@code.launchpad.net |
This proposal has been superseded by a proposal from 2010-04-09.
Description of the change
This patch introduces a --authors switch to bzr log, allowing users to override the choice of authors for all built-in formats. It comes with a NEWS item and several test cases.
I'm not perfectly happy with the naming, so if you prefer different names for some method or attribute, let me know. I also haven't included a blackbox test ensuring that the --authors command line switch actually gets passed to the log formatter. Do you consider this necessary?
To post a comment you must log in.
The manual parsing and the structure of the if block says to me that this would be better handled by a registry of author handlers.