Cleanup failed rebases in cros_build_lib.py.

If a rebase fails we should be nice and git rebase --abort so that we won't
leave the tree in a busted state.

BUG=chromium-os:16098
TEST=ran prebuilt test suite

Reviewed-on: http://gerrit.chromium.org/gerrit/2302
Reviewed-by: Chris Sosa <sosa@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: David James <davidjames@chromium.org>
(cherry picked from commit cb2d970da51c6c9ae9123a4a47bad6252c608ca2)

Change-Id: Idba96a0866146f05dd1773d2149db3716c2cda2d
Reviewed-on: http://gerrit.chromium.org/gerrit/2314
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: David James <davidjames@chromium.org>
1 file changed