From: Daniel Martí Date: Wed, 22 May 2013 15:45:14 +0000 (+0200) Subject: No need to checkout to master for Tags X-Git-Tag: 0.1~577 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=642831c78f9fbac3c9fdffc514b61cf2c50a13e9;p=fdroidserver.git No need to checkout to master for Tags This fixes many occurences of Tags/RM not working since master doesn't exist on some repos, e.g. com.better.alarm. --- diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 31e1170e..3c157635 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -51,9 +51,9 @@ def check_tags(app, sdk_path): # Set up vcs interface and make sure we have the latest code... vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir, sdk_path) if app['Repo Type'] == 'git': - vcs.gotorevision('origin/master') + vcs.gotorevision(None) elif app['Repo Type'] == 'git-svn': - vcs.gotorevision('trunk') + vcs.gotorevision(None) if len(app['builds']) == 0: return (None, "Can't use Tags with no builds defined")