1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 17:20:25 +02:00

stop git clone from hanging at prompts

Forgot this in fdbfb4d1a2 !378

reviewed in person with @bubu @uniqx
This commit is contained in:
Hans-Christoph Steiner 2017-12-03 13:12:43 +01:00
parent 24e1da1e91
commit ca24aa4ca8

View File

@ -833,7 +833,7 @@ class vcs_git(vcs):
def gotorevisionx(self, rev): def gotorevisionx(self, rev):
if not os.path.exists(self.local): if not os.path.exists(self.local):
# Brand new checkout # Brand new checkout
p = FDroidPopen(['git', 'clone', self.remote, self.local], cwd=None) p = self.GitFetchFDroidPopen(['clone', self.remote, self.local], cwd=None)
if p.returncode != 0: if p.returncode != 0:
self.clone_failed = True self.clone_failed = True
raise VCSException("Git clone failed", p.output) raise VCSException("Git clone failed", p.output)