mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue