b.v.f.PythonVersionInfoBuilder(VersionInfoBuilder) : class documentation

Part of bzrlib.version_info_formats.format_python View In Hierarchy

Create a version file which is a python source module.
Method generate Output the version information to the supplied file.

Inherited from VersionInfoBuilder:

Method __init__ Build up information about the given branch.
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
def generate(self, to_file):
Output the version information to the supplied file.
Parametersto_fileThe file to write the stream to. The output will already be encoded, so to_file should not try to change encodings.
ReturnsNone
API Documentation for Bazaar, generated by pydoctor at 2019-11-13 00:26:04.