[Webkit-unassigned] [Bug 240533] [git-webkit] pr fails (KeyError: 'e6896ffd9b1a4b6deae32a0098a870ef68f8bddf')

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 20 02:03:35 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240533

--- Comment #7 from Olivier Blin <olivier.blin at softathome.com> ---
I still get an error, but with an empty commit now.
I have to use --no-rebase to get it working.

$ LC_ALL=C ./Tools/Scripts/git-webkit pr -v --no-add
INFO:webkitscmpy:    Found 1 commit...
Branch 'main' set up to track remote branch 'main' from 'origin'.
INFO:webkitscmpy:Using committed changes...
INFO:webkitscmpy:Rebasing 'eng/GLib-Fix-typo-in-WebKitUserMediaPermissionRequest-description' on 'main'...
>From github.com:WebKit/WebKit
 * branch                      main       -> FETCH_HEAD
Current branch eng/GLib-Fix-typo-in-WebKitUserMediaPermissionRequest-description is up to date.
Traceback (most recent call last):
  File "./Tools/Scripts/git-webkit", line 69, in <module>
    sys.exit(program.main(
  File "/home/blino/vc/webkit.org/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py", line 147, in main
    return parsed.main(
  File "/home/blino/vc/webkit.org/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 438, in main
    return cls.create_pull_request(repository, args, branch_point)
  File "/home/blino/vc/webkit.org/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 265, in create_pull_request
    if repository.pull(rebase=True, branch=branch_point.branch):
  File "/home/blino/vc/webkit.org/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py", line 946, in pull
    self.cache.clear(self.branch)
  File "/home/blino/vc/webkit.org/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py", line 213, in clear
    self._fill(branch)
  File "/home/blino/vc/webkit.org/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py", line 80, in _fill
    branch_point = int(self._hash_to_identifiers[self._ordered_commits[branch][0]].split('@')[0])
  File "/home/blino/vc/webkit.org/WebKit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/nested_fuzzy_dict.py", line 53, in __getitem__
    raise KeyError(keyname)
KeyError: ''

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220520/f7a75660/attachment.htm>


More information about the webkit-unassigned mailing list