Revision: 23647
Author: [email protected]
Date: Wed Sep 3 11:59:43 2014 UTC
Log: Correctly overwrite author in chromium roll script.
BUG=408523
LOG=n
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/535073002
https://code.google.com/p/v8/source/detail?r=23647
Modified:
/branches/bleeding_edge/tools/push-to-trunk/chromium_roll.py
/branches/bleeding_edge/tools/push-to-trunk/git_recipes.py
/branches/bleeding_edge/tools/push-to-trunk/test_scripts.py
=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/chromium_roll.py Wed Sep 3
08:29:53 2014 UTC
+++ /branches/bleeding_edge/tools/push-to-trunk/chromium_roll.py Wed Sep 3
11:59:43 2014 UTC
@@ -86,7 +86,8 @@
sheriff = ("\n\nPlease reply to the V8 sheriff %s in case of
problems."
% self["sheriff"])
self.GitCommit("%s%s\n\nTBR=%s" %
- (commit_title, sheriff, self._options.reviewer))
+ (commit_title, sheriff, self._options.reviewer),
+ author=self._options.author)
if not self._options.dry_run:
self.GitUpload(author=self._options.author,
force=True,
=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/git_recipes.py Mon Aug 25
13:39:43 2014 UTC
+++ /branches/bleeding_edge/tools/push-to-trunk/git_recipes.py Wed Sep 3
11:59:43 2014 UTC
@@ -167,13 +167,15 @@
# base files were uploaded, if not retry.
self.Git(MakeArgs(args), pipe=False)
- def GitCommit(self, message="", file_name=""):
+ def GitCommit(self, message="", file_name="", author=None):
assert message or file_name
args = ["commit"]
if file_name:
args += ["-aF", Quoted(file_name)]
if message:
args += ["-am", Quoted(message)]
+ if author:
+ args += ["--author", "\"%s <%s>\"" % (author, author)]
self.Git(MakeArgs(args))
def GitPresubmit(self):
=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/test_scripts.py Wed Sep 3
06:50:18 2014 UTC
+++ /branches/bleeding_edge/tools/push-to-trunk/test_scripts.py Wed Sep 3
11:59:43 2014 UTC
@@ -842,7 +842,8 @@
Cmd(("git commit -am \"Update V8 to version 3.22.5 "
"(based on bleeding_edge revision r123454).\n\n"
"Please reply to the V8 sheriff [email protected] in "
- "case of problems.\n\[email protected]\""),
+ "case of problems.\n\[email protected]\" "
+ "--author \"[email protected] <[email protected]>\""),
""),
Cmd("git cl upload --send-mail --email \"[email protected]\"
-f", ""),
]
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.