| Index: scripts/slave/recipe_modules/recipe_tryjob/api.py
|
| diff --git a/scripts/slave/recipe_modules/recipe_tryjob/api.py b/scripts/slave/recipe_modules/recipe_tryjob/api.py
|
| index 40065835310eb7655171ee45aaca297ab3255ee5..165b0f34fdec6e4ab25fbfde7e86c05729fd147a 100644
|
| --- a/scripts/slave/recipe_modules/recipe_tryjob/api.py
|
| +++ b/scripts/slave/recipe_modules/recipe_tryjob/api.py
|
| @@ -179,8 +179,7 @@ class RecipeTryjobApi(recipe_api.RecipeApi):
|
| # Not working yet, but maybe??
|
| #api.file.rmtree('clean old %s repo' % proj, checkout_path)
|
|
|
| - config = self.m.gclient.make_config(
|
| - GIT_MODE=True, CACHE_DIR=root_dir.join("__cache_dir"))
|
| + config = self.m.gclient.make_config(CACHE_DIR=root_dir.join("__cache_dir"))
|
| soln = config.solutions.add()
|
| soln.name = proj
|
| soln.url = proj_config['repo_url']
|
| @@ -267,7 +266,7 @@ class RecipeTryjobApi(recipe_api.RecipeApi):
|
| root_dir = self.m.path['slave_build']
|
|
|
| # Needed to set up the infra checkout, for _python
|
| - self.m.gclient.set_config('infra', GIT_MODE=True)
|
| + self.m.gclient.set_config('infra')
|
| self.m.gclient.c.solutions[0].revision = 'origin/master'
|
| self.m.gclient.checkout()
|
| self.m.gclient.runhooks()
|
|
|