From e516dae95019bc8ab1609fcbbe5bd30ae10167d0 Mon Sep 17 00:00:00 2001 From: Chris Sosa Date: Thu, 16 Dec 2010 20:01:58 -0800 Subject: [PATCH] Simplify and clearify push logic. Change-Id: I5366fb930ca76f596f49d0312228aa5beeccbc31 BUG=chromium-os:8693 TEST=Ran it with and without dryrun and chrome uprev. Review URL: http://codereview.chromium.org/5846005 --- cros_mark_as_stable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cros_mark_as_stable.py b/cros_mark_as_stable.py index 9a87062635..9eb092cfd6 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():