For cros_mark_as_stable to work against mirrors for it's operations.

Only during the last step switch to rebasing the current work to
true ToT (IE, a push branch).  Else the cros_mark_as_stable code
can fail from the gerrit remote not being updated, and can invalidly
pull in changes from ToT if it was invoked in a revlocked manifest
context.

BUG=chromium-os:31391
TEST=manual tracing of pathways
TEST=cbuildbot unified-lumpy-paladin --buildbot --debug, assuming you
     can get it to build completely (unrelated to this cl/bug).

Change-Id: Ie95e0d91f24f8d748f20ad9786239305bff58cb0
Reviewed-on: https://gerrit.chromium.org/gerrit/24093
Reviewed-by: Brian Harring <ferringb@chromium.org>
Tested-by: Brian Harring <ferringb@chromium.org>
1 file changed