~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

Compare URLs in RemoteRepository.__eq__, rather than '_client' attributes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
 
252
252
    def __eq__(self, other):
253
253
        return (self.__class__ == other.__class__ and
254
 
                self._client == other._client)
 
254
                self.bzrdir.transport.base == other.bzrdir.transport.base)
255
255
        
256
256
    def __ne__(self, other):
257
257
        return not self == other