mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
stop git clone
from hanging at prompts
Forgot this in fdbfb4d1a2
!378
reviewed in person with @bubu @uniqx
This commit is contained in:
parent
24e1da1e91
commit
ca24aa4ca8
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user