[webkit-changes] [WebKit/WebKit] 77dd08: Move program.branch.Branch.branch_point to Repository

Brianna Fan noreply at github.com
Mon Oct 2 09:59:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 77dd08dc75482c6a8b5afcc3e519df604f5cd2bb
      https://github.com/WebKit/WebKit/commit/77dd08dc75482c6a8b5afcc3e519df604f5cd2bb
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2023-10-02 (Mon, 02 Oct 2023)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/squash.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/branch_unittest.py
    M Tools/Scripts/webkitpy/common/checkout/scm/git.py

  Log Message:
  -----------
  Move program.branch.Branch.branch_point to Repository
https://bugs.webkit.org/show_bug.cgi?id=262406
rdar://problem/116256812

Reviewed by Jonathan Bedard.

Added branch_point() to git.py and refactored code to reflect change.

* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py:
(Git):
(Git.branch_point):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py:
(Branch.editable):
(Branch.branch_point): Deleted.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull.py:
(Pull.main):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py:
(PullRequest.pull_request_branch_point):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/squash.py:
(Squash.main):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/branch_unittest.py:
* Tools/Scripts/webkitpy/common/checkout/scm/git.py:
(Git.remote_branch_ref):

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




More information about the webkit-changes mailing list