Part of bzrlib.bundle.serializer.v08 View In Hierarchy
Known subclasses: bzrlib.bundle.serializer.v09.BundleSerializerV09
| Method | read | Read the rest of the bundles from the supplied file. |
| Method | check_compatible | Undocumented |
| Method | write | Write the bundless to the supplied files. |
| Method | write_bundle | Write the bundle to the supplied file. |
| Method | _write_main_header | Write the header for the changes |
| Method | _write | Write out meta information, with proper indenting, etc. |
| Method | _write_revisions | Write the information for all of the revisions. |
| Method | _testament_sha1 | Undocumented |
| Method | _write_revision | Write out the information for a revision. |
| Method | _write_action | Undocumented |
| Method | _write_delta | Write out the changes between the trees. |
Inherited from BundleSerializer:
| Method | __init__ | Undocumented |
| Method | _write_bundle | Helper function for translating write_bundle to write |
| Parameters | f | The file to read from |
| Returns | A list of bundles | |
| Parameters | source | A source for revision information |
| revision_ids | The list of revision ids to serialize | |
| forced_bases | A dict of revision -> base that overrides default | |
| f | The file to output to |
| Parameters | repository | The repository to retrieve revision data from |
| target | The revision to provide data for | |
| base | The most recent of ancestor of the revision that does not need to be included in the bundle | |
| fileobj | The file to output to |
Write out meta information, with proper indenting, etc.
:param trailing_space_when_empty: To work around a bug in earlier
bundle readers, when writing an empty property, we use "prop:
"
rather than writing "prop:
".
If this parameter is True, and value is the empty string, we will
write an extra space.