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

Unified Diff: cros_mark_as_stable.py

Issue 5846005: Simplify and clearify push logic. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 10 years 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 9a8706263578201ddd2a72783d47a2fe60b18d2b..9eb092cfd6b49138deed3031004cdb25e49d77fa 100755
--- a/cros_mark_as_stable.py
+++ b/cros_mark_as_stable.py
@@ -252,7 +252,7 @@ def PushChange(stable_branch, tracking_branch):
merge_branch_name = 'merge_branch'
for push_try in range(num_retries + 1):
try:
- _SimpleRunCommand('git remote update')
+ _SimpleRunCommand('repo sync .')
merge_branch = GitBranch(merge_branch_name, tracking_branch)
merge_branch.CreateBranch()
if not merge_branch.Exists():
« 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