diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-20 09:58:02 +0000 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-01-20 09:58:02 +0000 |
commit | 0799660d136b7212e5b756a56683aa523c4c82e8 (patch) | |
tree | 5585e16f19941a8d2092e056212023edbf9d93ef /lorry | |
parent | 43b806953f0af31af1d0c9c8c5b53f43e140d4e0 (diff) | |
download | lorry-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-x | lorry | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |