From: Daniel Martí Date: Tue, 18 Feb 2014 09:34:49 +0000 (+0100) Subject: git-svn fix: run fetch to actually get new tags and branches X-Git-Tag: 0.2~254 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3f485e509f4d5b3f247fa751eccc36d6cac540ec;p=fdroidserver.git git-svn fix: run fetch to actually get new tags and branches --- diff --git a/fdroidserver/common.py b/fdroidserver/common.py index b0d8522b..388a65f5 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -417,7 +417,10 @@ class vcs_gitsvn(vcs): if p.returncode != 0: raise VCSException("Git clean failed") if not self.refreshed: - # Get new commits and tags from repo + # Get new commits, branches and tags from repo + p = SilentPopen(['%sgit svn fetch %s' % self.userargs()], cwd=self.local, shell=True) + if p.returncode != 0: + raise VCSException("Git svn fetch failed") p = SilentPopen(['%sgit svn rebase %s' % self.userargs()], cwd=self.local, shell=True) if p.returncode != 0: raise VCSException("Git svn rebase failed")