b.b.s.v.BundleSerializerV4(bundle_serializer.BundleSerializer) : class documentation

Part of bzrlib.bundle.serializer.v4 View In Hierarchy

Implement the high-level bundle interface
Method write Write a bundle to a file-like object
Method write_bundle Write a bundle to a file object
Method read return a reader object for a given file
Static Method get_source_serializer Retrieve the serializer for a given info object

Inherited from BundleSerializer:

Method __init__ Undocumented
Method _write_bundle Helper function for translating write_bundle to write
def write(self, repository, revision_ids, forced_bases, fileobj):
Write a bundle to a file-like object

For backwards-compatibility only

def write_bundle(self, repository, target, base, fileobj):
Write a bundle to a file object
ParametersrepositoryThe repository to retrieve revision data from
targetThe head revision to include ancestors of
baseThe ancestor of the target to stop including acestors at.
fileobjThe file-like object to write to
def read(self, file):
return a reader object for a given file
@staticmethod
def get_source_serializer(info):
Retrieve the serializer for a given info object
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.