[webkit-changes] [WebKit/WebKit] 40e8ec: [git-webkit] Handle edge-case of commit not on branch

Jonathan Bedard noreply at github.com
Wed Apr 5 15:43:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 40e8ecb625c1980908ec70c8a60dda47cc899e99
      https://github.com/WebKit/WebKit/commit/40e8ecb625c1980908ec70c8a60dda47cc899e99
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/setup.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/scm_base.py

  Log Message:
  -----------
  [git-webkit] Handle edge-case of commit not on branch
https://bugs.webkit.org/show_bug.cgi?id=255050
rdar://107676470

Reviewed by Stephanie Lewis and Dewei Zhu.

* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py:
(Git.branches_for): Handle case where a commit is on no branches.
(Git.commit): Handle undefined branch.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/scm_base.py:
(ScmBase.prioritize_branches): If no branches are provided, return None.

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




More information about the webkit-changes mailing list