cros_mark_as_stable: modify push to use tracking branch

BUG=5258
TEST=Successfully pushed.

Change-Id: I985da7577e88f4a734f8281cae4aafce8dda5933

Review URL: http://codereview.chromium.org/3046051
This commit is contained in:
Mandeep Singh Baines 2010-08-05 11:39:03 -07:00
parent 138904ef93
commit 6d523e1a56

View File

@ -131,7 +131,7 @@ def _PushChange():
_RunCommand('git cl upload --desc_from_logs -m "%s"' % _RunCommand('git cl upload --desc_from_logs -m "%s"' %
'Marking set of ebuilds as stable') 'Marking set of ebuilds as stable')
_RunCommand('git remote update') _RunCommand('git remote update')
_RunCommand('git rebase origin/master') _RunCommand('git rebase %s' % gflags.FLAGS.tracking_branch)
_RunCommand('git cl push %s' % gflags.FLAGS.push_options) _RunCommand('git cl push %s' % gflags.FLAGS.push_options)