mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-28 20:02:09 -04:00
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:
@@ -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!")
|
||||
|
||||
Reference in New Issue
Block a user