## vcs.detect_vcs()


Discover the enclosing VCS, preferring jj when repos are colocated.


Usage

``` python
vcs.detect_vcs(
    start,
    *,
    jj_path=None,
    git_path=None,
    prefer="jj",
)
```
