| Index: tools/push-to-trunk/common_includes.py
|
| diff --git a/tools/push-to-trunk/common_includes.py b/tools/push-to-trunk/common_includes.py
|
| index 571cb181bbee9f8cb1955df27f4460862e89d791..5f2eff4553e9e99fd8231f4d59740aece89bdd8b 100644
|
| --- a/tools/push-to-trunk/common_includes.py
|
| +++ b/tools/push-to-trunk/common_includes.py
|
| @@ -557,7 +557,8 @@ class UploadStep(Step):
|
| print "Please enter the email address of a V8 reviewer for your patch: ",
|
| self.DieNoManualMode("A reviewer must be specified in forced mode.")
|
| reviewer = self.ReadLine()
|
| - self.GitUpload(reviewer, self._options.author, self._options.force_upload)
|
| + self.GitUpload(reviewer, self._options.author, self._options.force_upload,
|
| + bypass_hooks=self._options.bypass_upload_hooks)
|
|
|
|
|
| class DetermineV8Sheriff(Step):
|
| @@ -680,6 +681,7 @@ class ScriptsBase(object):
|
| # Defaults for options, common to all scripts.
|
| options.manual = getattr(options, "manual", True)
|
| options.force = getattr(options, "force", False)
|
| + options.bypass_upload_hooks = False
|
|
|
| # Derived options.
|
| options.requires_editor = not options.force
|
|
|