Add dependency checks for Subversion.
Review Request #12553 — Created Aug. 18, 2022 and submitted — Latest diff uploaded
This updates
SVNClientto add formal support for dependency checks.
SVNClient.check_dependencies()now determines ifsvnis installed.
SVNClient.get_local_path(),SVNClient.get_repository_info(), and
SVNClient.is_remote_only()now call this instead of checking for
dependencies themselves, emitting a warning if dependencies haven't
already been checked viasetup()orhas_dependencies().Unit tests have been updated to test the dependency checks. With the new
auto-test skipping, individual tests will be skipped ifsvnisn't
installed, but tests that don't requiresvnwill continue to run.
Unit tests pass on Python 3.7-3.11.