Index: bin/cbuildbot.py |
diff --git a/bin/cbuildbot.py b/bin/cbuildbot.py |
index 5bcb04788006c4fa7d907b151666c4a66ceb11fd..77b74bdd3a329debdd5de95ddb936913c6b3a880 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') |