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:
Mike Frysinger 2021-03-12 20:03:51 -05:00
parent 8da7b6fc65
commit 511a0e54f5

View File

@ -528,7 +528,7 @@ later is required to fix a server side protocol bug.
pm.end()
return ret
return ret and not err_results
def _GCProjects(self, projects, opt, err_event):
gc_gitdirs = {}