|
|
|
@ -248,7 +248,7 @@ Wrapper for easy calling of gclient steps.
|
|
|
|
|
Remove all index.lock files. If a previous run of git crashed, bot was
|
|
|
|
|
reset, etc... we might end up with leftover index.lock files.
|
|
|
|
|
|
|
|
|
|
— **def [calculate\_patch\_root](/recipes/recipe_modules/gclient/api.py#360)(self, patch_project, gclient_config=None, patch_repo=None):**
|
|
|
|
|
— **def [calculate\_patch\_root](/recipes/recipe_modules/gclient/api.py#362)(self, patch_project, gclient_config=None, patch_repo=None):**
|
|
|
|
|
|
|
|
|
|
Returns path where a patch should be applied to based patch_project.
|
|
|
|
|
|
|
|
|
@ -287,8 +287,10 @@ or repo_path_map, returns name of the first solution. This is done solely
|
|
|
|
|
for backward compatibility with existing tests.
|
|
|
|
|
Please do not rely on this logic in new code.
|
|
|
|
|
Instead, properly map a repository to a local path using repo_path_map.
|
|
|
|
|
TODO(nodir): remove this. Update all recipe tests to specify a git_repo
|
|
|
|
|
matching the recipe.
|
|
|
|
|
|
|
|
|
|
— **def [get\_repo\_path](/recipes/recipe_modules/gclient/api.py#330)(self, repo_url, gclient_config=None):**
|
|
|
|
|
— **def [get\_repo\_path](/recipes/recipe_modules/gclient/api.py#332)(self, repo_url, gclient_config=None):**
|
|
|
|
|
|
|
|
|
|
Returns local path to the repo checkout given its url.
|
|
|
|
|
|
|
|
|
@ -327,7 +329,7 @@ Chromium config. This may happen for one of two reasons:
|
|
|
|
|
|
|
|
|
|
— **def [runhooks](/recipes/recipe_modules/gclient/api.py#264)(self, args=None, name='runhooks', \*\*kwargs):**
|
|
|
|
|
|
|
|
|
|
— **def [set\_patch\_project\_revision](/recipes/recipe_modules/gclient/api.py#397)(self, patch_project, gclient_config=None):**
|
|
|
|
|
— **def [set\_patch\_project\_revision](/recipes/recipe_modules/gclient/api.py#399)(self, patch_project, gclient_config=None):**
|
|
|
|
|
|
|
|
|
|
Updates config revision corresponding to patch_project.
|
|
|
|
|
|
|
|
|
|