def provider(workdir, commit=True, **kwargs):
    """Factory for the correct SCM provider in `workdir`."""
    return SCM_PROVIDER[auto_detect(workdir)](workdir, commit=commit, **kwargs)
def provider(workdir, commit=True, **kwargs):
    """Factory for the correct SCM provider in `workdir`."""
    return SCM_PROVIDER[auto_detect(workdir)](workdir, commit=commit, **kwargs)
def provider ( workdir , commit = True , * * kwargs ) : return SCM_PROVIDER [ auto_detect ( workdir ) ] ( workdir , commit = commit , * * kwargs )
Factory for the correct SCM provider in `workdir`.
Factory for the correct SCM provider in workdir .