[webkit-changes] [WebKit/WebKit] 627b31: [git-webkit] Support reverting multiple commits at...

Brianna Fan noreply at github.com
Tue Dec 5 18:46:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 627b31c8383b01ea97f1b4d4cd95e28e73467dc0
      https://github.com/WebKit/WebKit/commit/627b31c8383b01ea97f1b4d4cd95e28e73467dc0
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M Tools/Scripts/hooks/prepare-commit-msg
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py

  Log Message:
  -----------
  [git-webkit] Support reverting multiple commits at once
https://bugs.webkit.org/show_bug.cgi?id=239796
rdar://problem/92702616

Reviewed by Jonathan Bedard.

Allows for multiple commits to be passed in as args.
Includes all reverted commit identifiers in the revert message.
Fixes bug in issue creation, adds support for radar importer.

* Tools/Scripts/hooks/prepare-commit-msg:
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py:
(Revert)
(Revert.parser):
(Revert.get_issue_info):
(Revert.create_revert_commit_msg):
(Revert.revert_commit):
(Revert.main):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/revert_unittest.py:
(TestRevert.test_github):
(TestRevert.test_github_two_step):
(TestRevert.test_args):
(test_update):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py:
(Branch):
(Branch.create_radar):
(Branch.main):

Canonical link: https://commits.webkit.org/271587@main




More information about the webkit-changes mailing list