[Webkit-unassigned] [Bug 235524] New: [git-webkit] Improve handling of Ctrl-C during git-webkit commands

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 24 09:10:46 PST 2022


            Bug ID: 235524
           Summary: [git-webkit] Improve handling of Ctrl-C during
                    git-webkit commands
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aakash_jain at apple.com

Improve handling of Ctrl-C during git-webkit commands. Currently it prints a stack-trace which might not be very readable. e.g.:

[WebKit]$git-webkit pr
Branch name: ^CTraceback (most recent call last):
  File "/Volumes/Apple/code/WebKit/Tools/Scripts/git-webkit", line 69, in <module>
  File "/Volumes/Apple/code/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py", line 134, in main
    return parsed.main(
  File "/Volumes/Apple/code/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 111, in main
    if Branch.main(args, repository, **kwargs):
  File "/Volumes/Apple/code/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py", line 79, in main
    args.issue = Terminal.input('Branch name: ')
  File "/Volumes/Apple/code/WebKit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/terminal.py", line 39, in input
    return (input if sys.version_info > (3, 0) else raw_input)(*args, **kwargs)

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/20220124/b3445c72/attachment.htm>

More information about the webkit-unassigned mailing list