Deprecate bzr, hg and git-svn support (attack surface)

This commit is contained in:
Jochen Sprickerhof 2025-05-22 14:33:28 +02:00 committed by Hans-Christoph Steiner
parent ac90d11906
commit cfc848771d

View File

@ -1355,6 +1355,7 @@ def getvcs(vcstype, remote, local):
""" """
if vcstype == 'git': if vcstype == 'git':
return vcs_git(remote, local) return vcs_git(remote, local)
logging.warning(_("RepoType {type} is deprecated, please switch to git.").format(type=vcstype))
if vcstype == 'git-svn': if vcstype == 'git-svn':
return vcs_gitsvn(remote, local) return vcs_gitsvn(remote, local)
if vcstype == 'hg': if vcstype == 'hg':