Fix incorrectly detecting CVS repositories when not found.
Review Request #12162 — Created March 17, 2022 and submitted — Latest diff uploaded
CVSTool.get_repository_info()
was returning aRepositoryInfo
result
when no repository could be found. The paths within wereNone
, but
this was enough to trip uprbt 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.