commit | fc06ced9f9b8b00841991b92a2a661302a69eb7b | [log] [tgz] |
---|---|---|
author | Doug Anderson <dianders@google.com> | Wed Mar 16 15:49:18 2011 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Thu Mar 17 09:17:42 2011 -0700 |
tree | 2bcb74073cb50022af2d6639a5bcd8c6a86f436f | |
parent | fce89f218a57e651e18cb91f5154e226c3f152b5 [diff] |
Make 'repo sync -jN' exit with an error code in the case of sync errors. The bug that this is fixing is described here: http://code.google.com/p/chromium-os/issues/detail?id=6813 This fix allows the helper threads to signal the main thread that they saw an error. When the main thread sees the error, it will let all existing threads finish, then exit with an error. Change-Id: If3019bc6b0b3ab9304d49ed2eea53e9d57f3095a