@ -63,12 +63,12 @@ Recipe module to ensure a checkout is consistent on a bot.
Wrapper for easy calling of bot_update.
— **def [deapply\_patch ](/recipes/recipe_modules/bot_update/api.py#67 2 )(self, bot_update_result):**
— **def [deapply\_patch ](/recipes/recipe_modules/bot_update/api.py#67 8 )(self, bot_update_result):**
Deapplies a patch, taking care of DEPS and solution revisions properly.
— **def [ensure\_checkout ](/recipes/recipe_modules/bot_update/api.py#191 )(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, with_branch_heads=False, with_tags=False, no_fetch_tags=False, refs=None, clobber=False, root_solution_revision=None, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, assert_one_gerrit_change=True, patch_refs=None, ignore_input_commit=False, add_blamelists=False, set_output_commit=False, step_test_data=None, enforce_fetch=False, download_topics=False, recipe_revision_overrides=None, \*\*kwargs):**
— **def [ensure\_checkout ](/recipes/recipe_modules/bot_update/api.py#191 )(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, with_branch_heads=False, with_tags=False, no_fetch_tags=False, refs=None, clobber=False, root_solution_revision=None, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, assert_one_gerrit_change=True, patch_refs=None, ignore_input_commit=False, add_blamelists=False, set_output_commit=False, step_test_data=None, enforce_fetch=False, download_topics=False, recipe_revision_overrides=None, step_tags=None, \*\*kwargs):**
Args:
* gclient_config: The gclient configuration to use when running bot_update.
@ -103,8 +103,9 @@ Args:
to each particular build/recipe run. e.g. the recipe might parse a gerrit
change's commit message to get this revision override requested by the
author.
* step_tags: a dict {tag name: tag value} of tags to add to the step
— **def [get\_project\_revision\_properties ](/recipes/recipe_modules/bot_update/api.py#6 49 )(self, project_name, gclient_config=None):**
— **def [get\_project\_revision\_properties ](/recipes/recipe_modules/bot_update/api.py#6 55 )(self, project_name, gclient_config=None):**
Returns all property names used for storing the checked-out revision of
a given project.
@ -120,7 +121,7 @@ Returns (list of str): All properties that'll hold the checked-out revision
  ** @property **< br > — **def [last\_returned\_properties ](/recipes/recipe_modules/bot_update/api.py#99 )(self):**
— **def [resolve\_fixed\_revision ](/recipes/recipe_modules/bot_update/api.py#60 0 )(self, bot_update_result, name):**
— **def [resolve\_fixed\_revision ](/recipes/recipe_modules/bot_update/api.py#60 6 )(self, bot_update_result, name):**
Sets a fixed revision for a single dependency using project revision
properties.