def get_origin(repodir='.', repotype='auto'):
    if repotype is 'auto':
        typ = detect_type(repodir)
        if typ is None:
            error.raise_error('Unknown repository type at {0}.', repodir)
    if repotype not in registry:
        error.raise_error("Unknown repository type '{0}'.", repotype)
    get_origin = registry[repotype][2]
    if get_origin is None:
        return
    return get_origin(repodir)
Return the default checkout location.
dataset/ETHPy150Open ravello/testmill/lib/testmill/versioncontrol.py/get_origin