2415
2415
def initialize_on_transport(self, transport):
2417
2417
# hand off the request to the smart server
2419
2419
except errors.NoSmartMedium:
2420
2420
# TODO: lookup the local format from a server hint.
2421
2421
local_dir_format = BzrDirMetaFormat1()
2422
2422
return local_dir_format.initialize_on_transport(transport)
2424
2424
path = client.remote_path_from_transport(transport)
2427
2426
assert response[0] in ('ok', ), 'unexpected response code %s' % (response,)
2428
2427
return remote.RemoteBzrDir(transport)