| Index: scripts/slave/recipe_modules/goma/resources/ensure_goma.py
|
| diff --git a/scripts/slave/recipe_modules/goma/resources/ensure_goma.py b/scripts/slave/recipe_modules/goma/resources/ensure_goma.py
|
| index 94fc5051a16469cf0c93aac8a084c1c29249b1c1..056384ab141d89818b174da1ab47a4ca90e5c909 100755
|
| --- a/scripts/slave/recipe_modules/goma/resources/ensure_goma.py
|
| +++ b/scripts/slave/recipe_modules/goma/resources/ensure_goma.py
|
| @@ -48,10 +48,10 @@ def main(argv):
|
| print '[%s]: repo mismatch. initial clone' % (
|
| datetime.datetime.utcnow() - start)
|
| shutil.rmtree(client_dir)
|
| - subprocess.check_call(['git', 'clone', config['repo'], client_dir])
|
| + subprocess.check_call(['git', 'retry', 'clone', config['repo'], client_dir])
|
|
|
| print '[%s]: fetch' % (datetime.datetime.utcnow() - start)
|
| - subprocess.check_call(['git', 'fetch'], cwd=client_dir)
|
| + subprocess.check_call(['git', 'retry', 'fetch'], cwd=client_dir)
|
| rev = config['revision']
|
| if args.canary:
|
| rev = 'refs/remotes/origin/HEAD'
|
|
|