mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
sync: fix reporting of failed local checkouts
The refactor to multiprocessing broke status reporting slightly when checking out projects. Make sure we mark the step as failed if any of the projects failed, not just when --fail-fast is set. Change-Id: I0efb56ce83b068b2c334046df3fef23d797599c9 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/299882 Reviewed-by: Michael Mortensen <mmortensen@google.com> Tested-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
parent
8da7b6fc65
commit
511a0e54f5
@ -528,7 +528,7 @@ later is required to fix a server side protocol bug.
|
|||||||
|
|
||||||
pm.end()
|
pm.end()
|
||||||
|
|
||||||
return ret
|
return ret and not err_results
|
||||||
|
|
||||||
def _GCProjects(self, projects, opt, err_event):
|
def _GCProjects(self, projects, opt, err_event):
|
||||||
gc_gitdirs = {}
|
gc_gitdirs = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user