From 5d0efdb14a31d651a0f6061ffb73452a20b7ed77 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Thu, 2 Aug 2012 12:13:01 -0700 Subject: [PATCH] sync: Honor --no-clone-bundle with -j1 Change-Id: I7c12902e386121a374d525be673092360c67c53d --- subcmds/sync.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/subcmds/sync.py b/subcmds/sync.py index 63227afd..bfe146b6 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -230,8 +230,10 @@ later is required to fix a server side protocol bug. if self.jobs == 1: for project in projects: pm.update() - if project.Sync_NetworkHalf(quiet=opt.quiet, - current_branch_only=opt.current_branch_only): + if project.Sync_NetworkHalf( + quiet=opt.quiet, + current_branch_only=opt.current_branch_only, + clone_bundle=not opt.no_clone_bundle): fetched.add(project.gitdir) else: print >>sys.stderr, 'error: Cannot fetch %s' % project.name