summaryrefslogtreecommitdiff
path: root/lorry
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-02-20 12:50:40 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-02-20 12:50:40 +0000
commit2c742c9edf459ca8b48393b579510c8943ba64f8 (patch)
tree113dedcfc504192adf643e18c3498b59d1b4eabc /lorry
parent7f7603057cbc977d59706dae44df76bc793bd8f1 (diff)
downloadlorry-2c742c9edf459ca8b48393b579510c8943ba64f8.tar.gz
Add the -a option to git cvsimport to always import all commits.
Without this, I always got a "refs/heads/origin is an invalid SHA1" error. From the git-cvsimport manual: -a Import all commits, including recent ones. cvsimport by default skips commits that have a timestamp less than 10 minutes ago.
Diffstat (limited to 'lorry')
-rwxr-xr-xlorry2
1 files changed, 1 insertions, 1 deletions
diff --git a/lorry b/lorry
index 52ebe8c..10fbf1f 100755
--- a/lorry
+++ b/lorry
@@ -237,7 +237,7 @@ class Lorry(cliapp.Application):
self.run_program(['git', 'svn', 'fetch'], cwd=gitdir)
def gitify_cvs(self, project_name, dirname, gitdir, spec):
- self.run_program(['git', 'cvsimport', '-d', spec['url'],
+ self.run_program(['git', 'cvsimport', '-a', '-d', spec['url'],
'-C', gitdir, spec['module']])
out = self.run_program(['git', 'remote'], cwd=gitdir)
if 'gitorious' not in out.splitlines():