/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/repofmt/knitrepo.py

  • Committer: Matthew Revell
  • Date: 2008-03-05 13:29:20 UTC
  • mfrom: (3250 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3263.
  • Revision ID: matthew.revell@canonical.com-20080305132920-nedj6gvy023h2w3a
LatestĀ fromĀ upstreadm

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
        except errors.RevisionNotPresent:
158
158
            raise errors.NoSuchRevision(self, revision_id)
159
159
 
 
160
    @symbol_versioning.deprecated_method(symbol_versioning.one_two)
160
161
    @needs_read_lock
161
162
    def get_data_stream(self, revision_ids):
162
 
        """See Repository.get_data_stream."""
163
 
        item_keys = self.item_keys_introduced_by(revision_ids)
 
163
        """See Repository.get_data_stream.
 
164
        
 
165
        Deprecated in 1.2 for get_data_stream_for_search.
 
166
        """
 
167
        search_result = self.revision_ids_to_search_result(set(revision_ids))
 
168
        return self.get_data_stream_for_search(search_result)
 
169
 
 
170
    @needs_read_lock
 
171
    def get_data_stream_for_search(self, search):
 
172
        """See Repository.get_data_stream_for_search."""
 
173
        item_keys = self.item_keys_introduced_by(search.get_keys())
164
174
        for knit_kind, file_id, versions in item_keys:
165
175
            name = (knit_kind,)
166
176
            if knit_kind == 'file':
344
354
    _serializer = xml5.serializer_v5
345
355
    # Knit based repositories handle ghosts reasonably well.
346
356
    supports_ghosts = True
 
357
    # External lookups are not supported in this format.
 
358
    supports_external_lookups = False
347
359
 
348
360
    def _get_control_store(self, repo_transport, control_files):
349
361
        """Return the control store for this repository."""