~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.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:
56
56
    sha_strings,
57
57
    sha_string,
58
58
    )
59
 
from bzrlib.smart.client import SmartClient
 
59
from bzrlib.smart.client import _SmartClient
60
60
from bzrlib.store.revision.text import TextRevisionStore
61
61
from bzrlib.store.text import TextStore
62
62
from bzrlib.store.versioned import WeaveStore
2222
2222
            # TODO: lookup the local format from a server hint.
2223
2223
            local_dir_format = BzrDirMetaFormat1()
2224
2224
            return local_dir_format.initialize_on_transport(transport)
2225
 
        client = SmartClient(medium)
 
2225
        client = _SmartClient(medium)
2226
2226
        path = client.remote_path_from_transport(transport)
2227
 
        response = SmartClient(medium).call('BzrDirFormat.initialize', path)
 
2227
        response = _SmartClient(medium).call('BzrDirFormat.initialize', path)
2228
2228
        assert response[0] in ('ok', ), 'unexpected response code %s' % (response,)
2229
2229
        return remote.RemoteBzrDir(transport)
2230
2230