/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/weaverepo.py

  • Committer: Aaron Bentley
  • Date: 2008-02-24 16:42:13 UTC
  • mfrom: (3234 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3235.
  • Revision ID: aaron@aaronbentley.com-20080224164213-eza1lzru5bwuwmmj
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
                        pending.add(revision_id)
177
177
            return result
178
178
 
 
179
    def has_revisions(self, revision_ids):
 
180
        """See Repository.has_revisions()."""
 
181
        result = set()
 
182
        transaction = self.get_transaction()
 
183
        for revision_id in revision_ids:
 
184
            if self._revision_store.has_revision_id(revision_id, transaction):
 
185
                result.add(revision_id)
 
186
        return result
 
187
 
179
188
    @needs_read_lock
180
189
    def is_shared(self):
181
190
        """AllInOne repositories cannot be shared."""
308
317
                        pending.add(revision_id)
309
318
            return result
310
319
 
 
320
    def has_revisions(self, revision_ids):
 
321
        """See Repository.has_revisions()."""
 
322
        result = set()
 
323
        transaction = self.get_transaction()
 
324
        for revision_id in revision_ids:
 
325
            if self._revision_store.has_revision_id(revision_id, transaction):
 
326
                result.add(revision_id)
 
327
        return result
 
328
 
311
329
    def revision_graph_can_have_wrong_parents(self):
312
330
        # XXX: This is an old format that we don't support full checking on, so
313
331
        # just claim that checking for this inconsistency is not required.
320
338
    rich_root_data = False
321
339
    supports_tree_reference = False
322
340
    supports_ghosts = False
 
341
    supports_external_lookups = False
323
342
 
324
343
    def initialize(self, a_bzrdir, shared=False, _internal=False):
325
344
        """Create a weave repository."""