mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
git-svn fix: run fetch to actually get new tags and branches
This commit is contained in:
parent
b9728b2980
commit
3f485e509f
1 changed files with 4 additions and 1 deletions
|
@ -417,7 +417,10 @@ class vcs_gitsvn(vcs):
|
||||||
if p.returncode != 0:
|
if p.returncode != 0:
|
||||||
raise VCSException("Git clean failed")
|
raise VCSException("Git clean failed")
|
||||||
if not self.refreshed:
|
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)
|
p = SilentPopen(['%sgit svn rebase %s' % self.userargs()], cwd=self.local, shell=True)
|
||||||
if p.returncode != 0:
|
if p.returncode != 0:
|
||||||
raise VCSException("Git svn rebase failed")
|
raise VCSException("Git svn rebase failed")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue