~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-07-16 09:26:03 UTC
  • mfrom: (5346.1.7 deprecations)
  • Revision ID: pqm@pqm.ubuntu.com-20100716092603-gi09i1u5bp2gb68i
(vila) Delete deprecated code. (Vincent Ladeuil)

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
 
 
165
154
    def _write_bundle(self, repository, revision_id, base_revision_id, out):
166
155
        """Helper function for translating write_bundle to write"""
167
156
        forced_bases = {revision_id:base_revision_id}