From 9a27b4099f06eab4af759903cf1b1184cb1e85fe Mon Sep 17 00:00:00 2001 From: Chris Sosa Date: Wed, 18 Aug 2010 18:18:18 -0700 Subject: [PATCH] Always re-configure to use ssh even on incremental checkouts Change-Id: I0a729b14e34c61a8174edd63fb20066e0811128e Review URL: http://codereview.chromium.org/3181025 --- bin/cbuildbot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/cbuildbot.py b/bin/cbuildbot.py index 5bcb047880..77b74bdd3a 100755 --- a/bin/cbuildbot.py +++ b/bin/cbuildbot.py @@ -64,6 +64,11 @@ def _FullCheckout(buildroot): def _IncrementalCheckout(buildroot): RunCommand(['repo', 'sync'], cwd=buildroot) + # Always re-run in case of new git repos or repo sync + # failed in a previous run because of a forced Stop Build. + RunCommand(['repo', 'forall', '-c', 'git', 'config', + 'url.ssh://git@gitrw.chromium.org:9222.pushinsteadof', + 'http://src.chromium.org/git'], cwd=buildroot) def _MakeChroot(buildroot): cwd = os.path.join(buildroot, 'src', 'scripts')