Fix incorrectly detecting CVS repositories when not found.

Review Request #12162 — Created March 17, 2022 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

CVSTool.get_repository_info() was returning a RepositoryInfo result
when no repository could be found. The paths within were None, but
this was enough to trip up rbt list-repo-types (and probably other
code paths).

This change checks the path before returning a result, mirroring the
logic in most other SCMs.

Unit tests pass.

Commits

Files

    Loading...