@ -345,7 +345,7 @@ Args:
Returns:
the name of the branch
— **def [get\_changes ](/recipes/recipe_modules/gerrit/api.py#1 3 5)(self, host, query_params, start=None, limit=None, o_params=None, step_test_data=None, \*\*kwargs):**
— **def [get\_changes ](/recipes/recipe_modules/gerrit/api.py#1 51 )(self, host, query_params, start=None, limit=None, o_params=None, step_test_data=None, \*\*kwargs):**
Query changes for the given host.
@ -369,6 +369,19 @@ Get a branch from given project and commit
Returns:
the revision of the branch
— **def [get\_revision\_info ](/recipes/recipe_modules/gerrit/api.py#121 )(self, host, change, patchset):**
Returns the info for a given patchset of a given change.
Args:
host: Gerrit host to query.
change: The change number.
patchset: The patchset number.
Returns:
A dict for the target revision as documented here:
https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#list-changes
### *recipe_modules* / [git ](/recipes/recipe_modules/git )
[DEPS ](/recipes/recipe_modules/git/__init__.py#1 ): [infra\_paths ](#recipe_modules-infra_paths ), [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/step][recipe_engine/recipe_modules/step]