summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-01-05 15:07:18 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-01-05 15:07:18 +0000
commitdc862e12b82f6697c8a1ea715851df8eee35364b (patch)
treeb93e9e62501430b6d1f00158f335ce7789b670d3
parenta6924648bf230def3f26bf9ac6e8ec3dcae1c4cc (diff)
downloadlorry-dc862e12b82f6697c8a1ea715851df8eee35364b.tar.gz
Remove --tags, --all is mutually incompatible
I think --mirror is --all but also deletes and --tags is just the tags
-rwxr-xr-xlorry4
1 files changed, 2 insertions, 2 deletions
diff --git a/lorry b/lorry
index 9554909..2dd261d 100755
--- a/lorry
+++ b/lorry
@@ -77,7 +77,7 @@ class Lorry(cliapp.Application):
self.run_program(['git', 'clone', '--mirror', spec['url'], gitdir])
else:
self.progress('.. updating existing clone')
- self.run_program(['git', 'fetch', '--all', '--tags'], cwd=gitdir)
+ self.run_program(['git', 'fetch', '--all'], cwd=gitdir)
def gitify_bzr(self, dirname, gitdir, spec):
bzrdir = os.path.join(dirname, 'bzr')
@@ -172,7 +172,7 @@ class Lorry(cliapp.Application):
cwd=gitdir)
self.progress('.. pushing to gitorious')
- self.run_program(['git', 'push', '--all', '--tags', 'gitorious'], cwd=gitdir)
+ self.run_program(['git', 'push', '--all', 'gitorious'], cwd=gitdir)
def run_program(self, argv, **kwargs):
logging.debug('Running: argv=%s kwargs=%s' %