b.version_info_formats : package documentation

Part of bzrlib

Routines for extracting all version information from a bzr branch.
Module format_custom A generator which creates a template-based output from the current
Module format_python A generator which creates a python script from the current tree info
Module format_rio A generator which creates a rio stanza of the current tree info

From the __init__.py module:

Class VersionInfoBuilder A class which lets you build up information about a revision.
Function create_date_str Just a wrapper around format_date to provide the right format.
def create_date_str(timestamp=None, offset=None):
Just a wrapper around format_date to provide the right format.

We don't want to use '%a' in the time string, because it is locale dependant. We also want to force timezone original, and show_offset

Without parameters this function yields the current date in the local time zone.

API Documentation for Bazaar, generated by pydoctor at 2014-12-20 00:01:32.