summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2013-04-04 09:11:43 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2013-04-04 09:11:43 +0100
commit572a231649ca045a7fb0c97c88cb03b09036f5d6 (patch)
tree9032ab60026cf26113def02c70e1621a95c3ea76
parentd74d1afc9668c4b22e081f0799ad4fcba6bc6362 (diff)
downloadlorry-572a231649ca045a7fb0c97c88cb03b09036f5d6.tar.gz
Add --insecure to hg calls
-rwxr-xr-xlorry4
1 files changed, 2 insertions, 2 deletions
diff --git a/lorry b/lorry
index 610a218..bc58d83 100755
--- a/lorry
+++ b/lorry
@@ -414,10 +414,10 @@ class Lorry(cliapp.Application):
hgdir = os.path.join(dirname, 'hg')
if os.path.exists(hgdir):
self.progress('.. updating hg branch')
- self.run_program(['hg', 'pull', '--quiet'], cwd=hgdir)
+ self.run_program(['hg', 'pull', '--quiet', '--insecure'], cwd=hgdir)
else:
self.progress('.. doing initial hg branch')
- self.run_program(['hg', 'clone', '--quiet', spec['url'], hgdir])
+ self.run_program(['hg', 'clone', '--quiet', '--insecure', spec['url'], hgdir])
if not os.path.exists(gitdir):
self.needs_aggressive = True