sequence.run_and_handle_errors()
+# FIXME: Requires unit test. Blocking issue: WebKitApplyingScripts
class ApplyAttachment(Command):
name = "apply-attachment"
show_in_main_help = True
WebKitApplyingScripts.apply_patches_with_options(tool.scm(), [attachment], options)
+# FIXME: Requires unit test. Blocking issue: WebKitApplyingScripts
class ApplyPatches(Command):
name = "apply-patches"
show_in_main_help = True
bugs_to_patches = {}
for patch in patches:
bug_id = patch["bug_id"]
- bugs_to_patches[bug_id] = bugs_to_patches.get(bug_id, []).append(patch)
+ bugs_to_patches[bug_id] = bugs_to_patches.get(bug_id, []) + [patch]
return bugs_to_patches
def execute(self, options, args, tool):
return all_patches
+# FIXME: Requires unit test.
class Rollout(Command):
name = "rollout"
show_in_main_help = True