Part of bzrlib.version_info_formats View In Hierarchy
Known subclasses: bzrlib.tests.test_version_info.TestBuilder, bzrlib.version_info_formats.format_custom.CustomVersionInfoBuilder, bzrlib.version_info_formats.format_python.PythonVersionInfoBuilder, bzrlib.version_info_formats.format_rio.RioVersionInfoBuilder
Method | __init__ | Build up information about the given branch. |
Method | generate | Output the version information to the supplied file. |
Method | _extract_file_revisions | Extract the working revisions for all files |
Method | _iter_revision_history | Find the messages for all revisions in history. |
Method | _get_revision_id | Get the revision id we are working on. |
Method | _get_revno_str | Undocumented |
Parameters | branch | The branch to work on |
working_tree | If supplied, preferentially check the working tree for changes. | |
check_for_clean | If False, we will skip the expense of looking for changes. | |
include_revision_history | If True, the output will include the full mainline revision history, including date and message | |
include_file_revisions | The output should include the explicit last-changed revision for each file. | |
template | Template for the output formatting, not used by all builders. | |
revision_id | Revision id to print version for (optional) |
Parameters | to_file | The file to write the stream to. The output will already be encoded, so to_file should not try to change encodings. |
Returns | None |