~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Andrew Bennetts
  • Date: 2007-04-16 17:49:35 UTC
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: andrew.bennetts@canonical.com-20070416174935-oieoe0rv424m14ix
Rename SmartClient to _SmartClient.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 
52
52
        if _client is None:
53
53
            self._medium = transport.get_smart_client()
54
 
            self._client = client.SmartClient(self._medium)
 
54
            self._client = client._SmartClient(self._medium)
55
55
        else:
56
56
            self._client = _client
57
57
            self._medium = None
168
168
 
169
169
 
170
170
class RemoteRepositoryFormat(repository.RepositoryFormat):
171
 
    """Format for repositories accessed over a SmartClient.
 
171
    """Format for repositories accessed over a _SmartClient.
172
172
 
173
173
    Instances of this repository are represented by RemoteRepository
174
174
    instances.
231
231
            self._real_repository = None
232
232
        self.bzrdir = remote_bzrdir
233
233
        if _client is None:
234
 
            self._client = client.SmartClient(self.bzrdir._medium)
 
234
            self._client = client._SmartClient(self.bzrdir._medium)
235
235
        else:
236
236
            self._client = _client
237
237
        self._format = format
682
682
        if _client is not None:
683
683
            self._client = _client
684
684
        else:
685
 
            self._client = client.SmartClient(self.bzrdir._medium)
 
685
            self._client = client._SmartClient(self.bzrdir._medium)
686
686
        self.repository = remote_repository
687
687
        if real_branch is not None:
688
688
            self._real_branch = real_branch