/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Andrew Bennetts
  • Date: 2009-06-30 03:21:05 UTC
  • mto: (4476.3.44 inventory-delta)
  • mto: This revision was merged to the branch mainline in revision 4608.
  • Revision ID: andrew.bennetts@canonical.com-20090630032105-4zt25mjx9kdco1wt
Make it possible for a StreamSink for a rich-root/tree-refs repo format to consume inventories without those features.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
 
172
172
    def get_bytes_as(self, storage_kind):
173
173
        if storage_kind == self.storage_kind:
174
 
            return self._basis_id, self.key, self._delta
 
174
            return self._basis_id, self.key, self._delta, self._format_flags
175
175
        elif storage_kind == 'inventory-delta-bytes':
176
176
            serializer = inventory_delta.InventoryDeltaSerializer(
177
177
                *self._format_flags)