Part of bzrlib.log View In Hierarchy
Method | __init__ | Create a LogFormatter. |
Method | truncate | Undocumented |
Method | date_string | Undocumented |
Method | message | Undocumented |
Method | log_revision | Log a revision. |
Method | log_string | Format log info into one string. Truncate tail of string |
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. |
Parameters | revno | revision number or None. Revision numbers counts from 1. |
rev | revision object | |
max_chars | maximum length of resulting string | |
tags | list of tags or None | |
prefix | string to prefix each line | |
Returns | formatted truncated string |