[webkit-changes] [WebKit/WebKit] 9f6b01: [git-webkit] 'IndexError: list index out of range '
Jonathan Bedard
noreply at github.com
Wed Dec 7 12:54:56 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9f6b01dab8697d926907a3087183dcd5b63dad25
https://github.com/WebKit/WebKit/commit/9f6b01dab8697d926907a3087183dcd5b63dad25
Author: Jonathan Bedard <jbedard at apple.com>
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
More information about the webkit-changes
mailing list