2394
2394
def probe_transport(klass, transport):
2395
2395
"""Return a RemoteBzrDirFormat object if it looks possible."""
2398
2398
except (NotImplementedError, AttributeError,
2400
2400
# no smart server, so not a branch for this format type.
2401
2401
raise errors.NotBranchError(path=transport.base)
2403
2403
# Decline to open it if the server doesn't support our required
2404
2404
# version (2) so that the VFS-based transport will do it.
2407
2412
raise errors.NotBranchError(path=transport.base)