~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

(jelmer) Various improvements to allow running bzr interface tests against
 foreign branch plugins. (Jelmer Vernooij)

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
366
364
        # for tests
367
365
        self._write_group = None
368
366
        # Additional places to query for data.
406
404
        """
407
405
        if self.__class__ is not other.__class__:
408
406
            return False
409
 
        return (self._transport.base == other._transport.base)
 
407
        return (self.control_url == other.control_url)
410
408
 
411
409
    def is_in_write_group(self):
412
410
        """Return True if there is an open write group.