summaryrefslogtreecommitdiff
path: root/lorry
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-01-20 09:58:02 +0000
committerLorry <lorry@roadtrain.codethink.co.uk>2012-01-20 09:58:02 +0000
commit0799660d136b7212e5b756a56683aa523c4c82e8 (patch)
tree5585e16f19941a8d2092e056212023edbf9d93ef /lorry
parent43b806953f0af31af1d0c9c8c5b53f43e140d4e0 (diff)
downloadlorry-0799660d136b7212e5b756a56683aa523c4c82e8.tar.gz
lorry: specify svn clone destination
So it is cloned into $project/git rather than $project/git/$url
Diffstat (limited to 'lorry')
-rwxr-xr-xlorry4
1 files changed, 2 insertions, 2 deletions
diff --git a/lorry b/lorry
index fd7abce..5a04e9e 100755
--- a/lorry
+++ b/lorry
@@ -160,10 +160,10 @@ class Lorry(cliapp.Application):
spec['url'], gitdir])
else:
layout = spec["layout"]
- self.run_program(['git', 'svn', 'clone', spec['url'],
+ self.run_program(['git', 'svn', 'clone', spec['url'], gitdir,
'--tags', layout["tags"],
'--trunk', layout["trunk"],
- '--branches', layout["branches"]],cwd=gitdir)
+ '--branches', layout["branches"]])
else:
self.progress('.. updating existing clone')
self.run_program(['git', 'svn', 'fetch'], cwd=gitdir)