Bug 240856 - Style error when a file is renamed.
Summary: Style error when a file is renamed.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-23 22:17 PDT by Jean-Yves Avenard [:jya]
Modified: 2022-05-23 22:17 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2022-05-23 22:17:32 PDT
In a commit I renamed a file from Source/WebKit/Platform/IPC/SharedBufferCopy.cpp to Source/WebKit/Platform/IPC/SharedBufferReference.cpp

When I tried to push the PR I got:
```
ERROR: File does not exist: 'Source/WebKit/Platform/IPC/SharedBufferCopy.cpp'
Traceback (most recent call last):
  File "/Users/jyavenard/Work/webkit/OpenSource/Tools/Scripts/check-webkit-style", line 46, in <module>
    sys.exit(CheckWebKitStyle().main())
  File "/Users/jyavenard/Work/webkit/OpenSource/Tools/Scripts/webkitpy/style/main.py", line 159, in main
    patch_checker.check(patch)
  File "/Users/jyavenard/Work/webkit/OpenSource/Tools/Scripts/webkitpy/style/patchreader.py", line 86, in check
    self._text_file_reader.process_file(file_path=path, line_numbers=line_numbers)
  File "/Users/jyavenard/Work/webkit/OpenSource/Tools/Scripts/webkitpy/style/filereader.py", line 123, in process_file
    raise IOError("File does not exist")
OSError: File does not exist
style-checker failed, continue uploading pull request? (Yes/[No]): Yes
```
Comment 1 Radar WebKit Bug Importer 2022-05-23 22:17:51 PDT
<rdar://problem/93807132>