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

Unified Diff: bin/cbuildbot.py

Issue 3181025: Always re-configure to use ssh even on incremental checkouts (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 4 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: 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')
« 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