chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33ed7f0
)
Error if UCM:Tags is used with git-svn without tags set up
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 26 Jun 2014 10:41:50 +0000
(12:41 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 26 Jun 2014 10:41:50 +0000
(12:41 +0200)
fdroidserver/checkupdates.py
patch
|
blob
|
history
diff --git
a/fdroidserver/checkupdates.py
b/fdroidserver/checkupdates.py
index 83604f6f17b0ee42c9ce0d84f50b6ec31c462a0c..7ce1457510c1b35b6dd114a8ed99a22bca9c60c8 100644
(file)
--- a/
fdroidserver/checkupdates.py
+++ b/
fdroidserver/checkupdates.py
@@
-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)