diff options
| author | Shawn O. Pearce <sop@google.com> | 2012-08-02 12:13:01 -0700 |
|---|---|---|
| committer | Shawn O. Pearce <sop@google.com> | 2012-08-02 12:13:01 -0700 |
| commit | 5d0efdb14a31d651a0f6061ffb73452a20b7ed77 (patch) | |
| tree | a7c781f860bb675d88cfcc8708a28894aa761229 /subcmds | |
| parent | f35b2d9c31f62a488a0d470f269c85cda5b02d72 (diff) | |
| download | git-repo-5d0efdb14a31d651a0f6061ffb73452a20b7ed77.tar.gz | |
sync: Honor --no-clone-bundle with -j1
Change-Id: I7c12902e386121a374d525be673092360c67c53d
Diffstat (limited to 'subcmds')
| -rw-r--r-- | subcmds/sync.py | 6 |
1 files 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. | |||
| 230 | if self.jobs == 1: | 230 | if self.jobs == 1: |
| 231 | for project in projects: | 231 | for project in projects: |
| 232 | pm.update() | 232 | pm.update() |
| 233 | if project.Sync_NetworkHalf(quiet=opt.quiet, | 233 | if project.Sync_NetworkHalf( |
| 234 | current_branch_only=opt.current_branch_only): | 234 | quiet=opt.quiet, |
| 235 | current_branch_only=opt.current_branch_only, | ||
| 236 | clone_bundle=not opt.no_clone_bundle): | ||
| 235 | fetched.add(project.gitdir) | 237 | fetched.add(project.gitdir) |
| 236 | else: | 238 | else: |
| 237 | print >>sys.stderr, 'error: Cannot fetch %s' % project.name | 239 | print >>sys.stderr, 'error: Cannot fetch %s' % project.name |
