~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-14 04:53:15 UTC
  • mfrom: (1910.7.21 cosmetic)
  • Revision ID: pqm@pqm.ubuntu.com-20060914045315-d646c86b3f4722f2
(Andrew Bennetts, Robert Collins, Martin Pool) Various cosmetic improvements to docstrings and comments throughout bzrlib.

Show diffs side-by-side

added added

removed removed

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