diff --git a/cros_mark_as_stable.py b/cros_mark_as_stable.py index d9373c05ef..3af5df8890 100755 --- a/cros_mark_as_stable.py +++ b/cros_mark_as_stable.py @@ -131,7 +131,7 @@ def _PushChange(): _RunCommand('git cl upload --desc_from_logs -m "%s"' % 'Marking set of ebuilds as stable') _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)