Merge branch 'hg-placeholder-vcs' into 'master'

build: use placeholder vcs() instance for 'hg' til its purged

See merge request fdroid/fdroidserver!1791
This commit is contained in:
linsui
2026-03-10 11:11:59 +00:00

View File

@@ -1544,6 +1544,8 @@ def getvcs(vcstype, remote, local):
)
if vcstype == 'git-svn':
return vcs_gitsvn(remote, local)
if vcstype == 'hg':
return vcs(remote, local) # placeholder until all RepoType: hg apps are removed
if vcstype == 'srclib':
if str(local) != os.path.join('build', 'srclib', str(remote)):
raise VCSException("Error: srclib paths are hard-coded!")