Explorar el Código

sync: Honor --no-clone-bundle with -j1

Change-Id: I7c12902e386121a374d525be673092360c67c53d
Shawn O. Pearce hace 13 años
padre
commit
5d0efdb14a
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      subcmds/sync.py

+ 4 - 2
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