mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-18 15:06:42 -04:00
Error if UCM:Tags is used with git-svn without tags set up
This commit is contained in:
@@ -102,6 +102,9 @@ def check_tags(app, pattern):
|
||||
if repotype not in ('git', 'git-svn', 'hg', 'bzr'):
|
||||
return (None, 'Tags update mode only works for git, hg, bzr and git-svn repositories currently', None)
|
||||
|
||||
if repotype == 'git-svn' and ';' not in app['Repo']:
|
||||
return (None, 'Tags update mode used in git-svn, but the repo was not set up with tags', None)
|
||||
|
||||
# Set up vcs interface and make sure we have the latest code...
|
||||
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user