Reviewers: ulan,
Message:
Committed patchset #1 manually as r19450 (tree was closed).
Description:
Fix merge-to-branch python port.
This fixes a forgotten parameter when calling the script's toplevel method
and
adds the same usage message as in the bash script.
BUG=
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=19450
Please review this at https://codereview.chromium.org/164373015/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+5, -1 lines):
M tools/push-to-trunk/merge_to_branch.py
Index: tools/push-to-trunk/merge_to_branch.py
diff --git a/tools/push-to-trunk/merge_to_branch.py
b/tools/push-to-trunk/merge_to_branch.py
index
399b33c0198f15b2646f9ceb932901b3977215d3..43f47b40745fceba86c063b4343a051c71422568
100755
--- a/tools/push-to-trunk/merge_to_branch.py
+++ b/tools/push-to-trunk/merge_to_branch.py
@@ -355,6 +355,10 @@ def RunMergeToBranch(config,
def BuildOptions():
result = optparse.OptionParser()
+ result.set_usage("""%prog [OPTIONS]... [BRANCH] [REVISION]...
+
+Performs the necessary steps to merge revisions from bleeding_edge
+to other branches, including trunk.""")
result.add_option("-f",
help="Delete sentinel file.",
default=False, action="store_true")
@@ -396,7 +400,7 @@ def Main():
if not ProcessOptions(options, args):
parser.print_help()
return 1
- RunMergeToBranch(CONFIG, MergeToBranchOptions(options))
+ RunMergeToBranch(CONFIG, MergeToBranchOptions(options, args))
if __name__ == "__main__":
sys.exit(Main())
--
--
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/groups/opt_out.