def get_checkout_command(url, version, repotype):
    if repotype not in registry:
        error.raise_error("Unknown repository type '{0}'.", repodir)
    get_checkout_command = registry[repotype][3]
    if get_checkout_command is None:
        return []
    return get_checkout_command(url, version)
Return the checkout command for a repository.
dataset/ETHPy150Open ravello/testmill/lib/testmill/versioncontrol.py/get_checkout_command