| Index: tools/push-to-trunk/git_recipes.py
|
| diff --git a/tools/push-to-trunk/git_recipes.py b/tools/push-to-trunk/git_recipes.py
|
| index 8c1e314d7d8c7e493750918295dd044fba4c9b0a..1b5bd2bf18394b1c11ed926db2abf428fff1e8f9 100644
|
| --- a/tools/push-to-trunk/git_recipes.py
|
| +++ b/tools/push-to-trunk/git_recipes.py
|
| @@ -144,7 +144,7 @@ class GitRecipesMixin(object):
|
| args.append(Quoted(patch_file))
|
| self.Git(MakeArgs(args))
|
|
|
| - def GitUpload(self, reviewer="", author="", force=False):
|
| + def GitUpload(self, reviewer="", author="", force=False, cq=False):
|
| args = ["cl upload --send-mail"]
|
| if author:
|
| args += ["--email", Quoted(author)]
|
| @@ -152,6 +152,8 @@ class GitRecipesMixin(object):
|
| args += ["-r", Quoted(reviewer)]
|
| if force:
|
| args.append("-f")
|
| + if cq:
|
| + args.append("--use-commit-queue")
|
| # TODO(machenbach): Check output in forced mode. Verify that all required
|
| # base files were uploaded, if not retry.
|
| self.Git(MakeArgs(args), pipe=False)
|
|
|