Part of bzrlib.tests.test_log View In Hierarchy
To simplify testing we save logged revisions here rather than actually formatting anything, so that we can precisely check the result without being dependent on the formatting.
Method | __init__ | Create a LogFormatter. |
Method | log_revision | Log a revision. |
Inherited from LogFormatter:
Method | get_levels | Get the number of levels to display or 0 for all. |
Method | show_advice | Output user advice, if any, when the log is completed. |
Method | get_advice_separator | Get the text separating the log from the closing advice. |
Method | short_committer | Undocumented |
Method | short_author | Undocumented |
Method | authors | Generate list of authors, taking --authors option into account. |
Method | merge_marker | Get the merge marker to include in the output or '' if none. |
Method | show_properties | Displays the custom properties returned by each registered handler. |
Method | custom_properties | Format the custom properties returned by each registered handler. |
Method | show_diff | Undocumented |
Method | _foreign_info_properties | Custom log displayer for foreign revision identifiers. |
Method | _format_properties | Undocumented |
Parameters | to_file | the file to output to |
to_exact_file | if set, gives an output stream to which non-Unicode diffs are written. | |
show_ids | if True, revision-ids are to be displayed | |
show_timezone | the timezone to use | |
delta_format | the level of delta information to display or None to leave it to the formatter to decide | |
levels | the number of levels to display; None or -1 to let the log formatter decide. | |
show_advice | whether to show advice at the end of the log or not | |
author_list_handler | callable generating a list of authors to display for a given revision |
Parameters | revision | The LogRevision to be logged. |