b.l.LineLogFormatter(LogFormatter) : class documentation

Part of bzrlib.log View In Hierarchy

No class docstring
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
def __init__(self, *args, **kwargs):
Create a LogFormatter.
Parametersto_filethe file to output to
to_exact_fileif set, gives an output stream to which non-Unicode diffs are written.
show_idsif True, revision-ids are to be displayed
show_timezonethe timezone to use
delta_formatthe level of delta information to display or None to leave it to the formatter to decide
levelsthe number of levels to display; None or -1 to let the log formatter decide.
show_advicewhether to show advice at the end of the log or not
author_list_handlercallable generating a list of authors to display for a given revision
def truncate(self, str, max_len):
Undocumented
def date_string(self, rev):
Undocumented
def message(self, rev):
Undocumented
def log_revision(self, revision):
Log a revision.
ParametersrevisionThe LogRevision to be logged.
def log_string(self, revno, rev, max_chars, tags=None, prefix=''):
Format log info into one string. Truncate tail of string
Parametersrevnorevision number or None. Revision numbers counts from 1.
revrevision object
max_charsmaximum length of resulting string
tagslist of tags or None
prefixstring to prefix each line
Returnsformatted truncated string
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.