| Index: recipe_modules/bot_update/api.py
|
| diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py
|
| index 2b64807e5ec34f90ddb7da97967f72ae81046834..2f23b6ce43d935ad9fd30b9620807a31326799e2 100644
|
| --- a/recipe_modules/bot_update/api.py
|
| +++ b/recipe_modules/bot_update/api.py
|
| @@ -60,7 +60,7 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
| patch_project_roots=None, patch_oauth2=False,
|
| output_manifest=True, clobber=False,
|
| root_solution_revision=None, rietveld=None, issue=None,
|
| - patchset=None, **kwargs):
|
| + patchset=None, no_soft_reset=False, **kwargs):
|
| """
|
| Args:
|
| gclient_config: The gclient configuration to use when running bot_update.
|
| @@ -200,6 +200,8 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
| cmd.append('--output_manifest')
|
| if with_branch_heads or cfg.with_branch_heads:
|
| cmd.append('--with_branch_heads')
|
| + if no_soft_reset:
|
| + cmd.append('--no_soft_reset')
|
|
|
| # Inject Json output for testing.
|
| git_mode = self._mastername not in SVN_MASTERS
|
|
|