Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f6b01dab8697d926907a3087183dcd5b63dad25
      
https://github.com/WebKit/WebKit/commit/9f6b01dab8697d926907a3087183dcd5b63dad25
  Author: Jonathan Bedard <[email protected]>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  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

  Log Message:
  -----------
  [git-webkit] 'IndexError: list index out of range '
https://bugs.webkit.org/show_bug.cgi?id=236812
rdar://91307826

Reviewed by Dewei Zhu.

Our identifier cache can occasionally pick up empty branches.
This breaks our algorithm for determining branch point, we shouldn't
load such branches from the file cache.

* 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.Cache.load): Delete any loaded branch references which are empty.
(Git.Cache._fill): Skip any branches which are empty.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to