Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2419)

Unified Diff: cros_mark_as_stable.py

Issue 3066010: Add attempt to update remote and rebase before pushing (Closed) Base URL: ssh://git@chromiumos-git//crosutils.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cros_mark_as_stable.py
diff --git a/cros_mark_as_stable.py b/cros_mark_as_stable.py
index 91bd48f6f0fc5b8d38906850ff34323cab729374..e71813b022db3fb2d731b77876e8cabbee64401e 100755
--- a/cros_mark_as_stable.py
+++ b/cros_mark_as_stable.py
@@ -133,6 +133,8 @@ def _PushChange():
_STABLE_BRANCH_NAME))
_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 cl push %s' % gflags.FLAGS.push_options)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698