commit | 4c50deea28badb7007fa6b78c187de50eacdd07a | [log] [tgz] |
---|---|---|
author | Daniel Sandler <dsandler@menace.cam.corp.google.com> | Tue Mar 02 15:38:03 2010 -0500 |
committer | Daniel Sandler <dsandler@android.com> | Thu Mar 04 11:56:38 2010 -0500 |
tree | d51d267854493562a0b8a5a6480050319a78a39b | |
parent | d63060fc9546e2132d0ad7791beb795906372e86 [diff] |
Fail sync when encountering "N commits behind." This is almost always something the user needs to address before continuing work, so promoting it to a failure (rather than simply an informational message) seems the right way to go. As a side-effect, repo will now exit with a non-zero status code in this situation, so pipelines of the form `repo sync && make` will fail if there are branches that are stalled due to uploaded but unmerged patches.