summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-06-18 10:51:06 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-06-18 10:51:06 +0200
commit27bd780e7daa77ff23a3bbc0466199499fa9aa74 (patch)
treeae3c0904fcc2dc108ccbfbd84d10d6b978b3308b
parent99467f37239e529338bae23c4256eb1d6017729b (diff)
Pass --non-interactive --trust-server-cert to SVN
OS X does not like the tremor SVN certificate.
-rw-r--r--cerbero/utils/svn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cerbero/utils/svn.py b/cerbero/utils/svn.py
index d5e38585..948f59b7 100644
--- a/cerbero/utils/svn.py
+++ b/cerbero/utils/svn.py
@@ -28,7 +28,7 @@ def checkout(url, dest):
@param dest: path where to do the checkout
@type url: string
'''
- shell.call('svn co %s %s' % (url, dest))
+ shell.call('svn co --non-interactive --trust-server-cert %s %s' % (url, dest))
def update(repo, revision='HEAD'):
@@ -40,7 +40,7 @@ def update(repo, revision='HEAD'):
@param revision: the revision to checkout
@type revision: str
'''
- shell.call('svn up -r %s' % revision, repo)
+ shell.call('svn up --non-interactive --trust-server-cert -r %s' % revision, repo)
def checkout_file(url, out_path):