1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Fix possible git-svn bug

This commit is contained in:
Daniel Martí 2014-01-24 18:23:45 +01:00
parent 6855b6c442
commit 61a61824d4

View File

@ -437,7 +437,7 @@ class vcs_gitsvn(vcs):
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 and tags from repo...
if subprocess.call(['%sgit svn rebase %s' % self.userargs()], if subprocess.call(['git svn rebase %s' % self.userargs()],
cwd=self.local, shell=True) != 0: cwd=self.local, shell=True) != 0:
raise VCSException("Git svn rebase failed") raise VCSException("Git svn rebase failed")
self.refreshed = True self.refreshed = True