Fix merge-to-branch options.

BUG=
TBR=ulan@chromium.org

Review URL: https://codereview.chromium.org/170443003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19453 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0f2c040c
...@@ -52,11 +52,11 @@ CONFIG = { ...@@ -52,11 +52,11 @@ CONFIG = {
class MergeToBranchOptions(CommonOptions): class MergeToBranchOptions(CommonOptions):
def __init__(self, options, args): def __init__(self, options, args):
super(MergeToBranchOptions, self).__init__(options, options.m) super(MergeToBranchOptions, self).__init__(options, True)
self.requires_editor = True self.requires_editor = True
self.wait_for_lgtm = True self.wait_for_lgtm = True
self.delete_sentinel = options.f self.delete_sentinel = options.f
self.message = options.m self.message = getattr(options, "message", "")
self.revert = "--reverse" if getattr(options, "r", None) else "" self.revert = "--reverse" if getattr(options, "r", None) else ""
self.revert_bleeding_edge = getattr(options, "revert_bleeding_edge", False) self.revert_bleeding_edge = getattr(options, "revert_bleeding_edge", False)
self.patch = getattr(options, "p", "") self.patch = getattr(options, "p", "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment