~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: 2010-02-11 04:02:41 UTC
  • mfrom: (5017.2.2 tariff)
  • Revision ID: pqm@pqm.ubuntu.com-20100211040241-w6n021dz0uus341n
(mbp) add import-tariff tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
        """
152
152
        raise NotImplementedError
153
153
 
 
154
    def write(self, source, revision_ids, forced_bases, f):
 
155
        """Write the bundle to the supplied file.
 
156
 
 
157
        DEPRECATED: see write_bundle
 
158
        :param source: A source for revision information
 
159
        :param revision_ids: The list of revision ids to serialize
 
160
        :param forced_bases: A dict of revision -> base that overrides default
 
161
        :param f: The file to output to
 
162
        """
 
163
        raise NotImplementedError
 
164
 
154
165
    def _write_bundle(self, repository, revision_id, base_revision_id, out):
155
166
        """Helper function for translating write_bundle to write"""
156
167
        forced_bases = {revision_id:base_revision_id}