~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Robert Collins
  • Date: 2006-02-13 08:15:16 UTC
  • mto: (1534.5.2 bzr-dir)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060213081516-3d13375f0de0ccb6
find_repository sufficiently robust.

Show diffs side-by-side

added added

removed removed

Lines of Context:
513
513
            return self.get_inventory(revision_id)
514
514
 
515
515
    @needs_read_lock
 
516
    def is_shared(self):
 
517
        """Return True if this repository is flagged as a shared repository."""
 
518
        # FIXME format 4-6 cannot be shared, this is technically faulty.
 
519
        return self.control_files._transport.has('shared-storage')
 
520
 
 
521
    @needs_read_lock
516
522
    def revision_tree(self, revision_id):
517
523
        """Return Tree for a revision on this branch.
518
524