Always re-configure to use ssh even on incremental checkouts

Change-Id: I0a729b14e34c61a8174edd63fb20066e0811128e

Review URL: http://codereview.chromium.org/3181025
This commit is contained in:
Chris Sosa 2010-08-18 18:18:18 -07:00
parent a33a445a8d
commit 9a27b4099f

View File

@ -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')