~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/serializer/__init__.py

Various cosmetic changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
 
109
109
 
110
110
def _write_bundle(repository, revision_id, base_revision_id, out):
 
111
    """Write a bundle of revisions.
 
112
 
 
113
    :param repository: Repository containing revisions to serialize.
 
114
    :param revision_id: Head revision_id of the bundle.
 
115
    :param base_revision_id: Revision assumed to be present in repositories
 
116
         applying the bundle.
 
117
    :param out: Output file.
 
118
    """
111
119
    if base_revision_id is NULL_REVISION:
112
120
        base_revision_id = None
113
121
    base_ancestry = set(repository.get_ancestry(base_revision_id))