~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-20 13:31:00 UTC
  • mto: This revision was merged to the branch mainline in revision 6153.
  • Revision ID: jriddell@canonical.com-20110920133100-kpsomvcnjoxv6n6b
syntax fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
361
361
        # the following are part of the public API for Repository:
362
362
        self.bzrdir = a_bzrdir
363
363
        self.control_files = control_files
 
364
        self._transport = control_files._transport
 
365
        self.base = self._transport.base
364
366
        # for tests
365
367
        self._write_group = None
366
368
        # Additional places to query for data.
404
406
        """
405
407
        if self.__class__ is not other.__class__:
406
408
            return False
407
 
        return (self.control_url == other.control_url)
 
409
        return (self._transport.base == other._transport.base)
408
410
 
409
411
    def is_in_write_group(self):
410
412
        """Return True if there is an open write group.