Bug 216330

Summary: WPT exporter should use --3way when patch is from git
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: noam, ntim, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 238446    
Bug Blocks:    

Sam Sneddon [:gsnedders]
Reported Wednesday, September 9, 2020 11:37:48 PM UTC
When we're running on a git checkout of WebKit, the WPT exporter just gets its patch from `git diff`. This includes blob IDs, which means we can then use `git apply --3way` when applying the patch to the WPT tree, which has a better chance of succeeding (unless the file got modified during import) as the blob the patch applies to is recorded and therefore git doesn't just blindly try to apply it to the tip-of-tree of WPT, but can use its merge machinery.
Attachments
Radar WebKit Bug Importer
Comment 1 Wednesday, September 16, 2020 11:38:14 PM UTC
Noam Rosenthal
Comment 2 Monday, March 28, 2022 2:09:57 PM UTC
Tim Nguyen (:ntim)
Comment 3 Monday, March 28, 2022 5:29:40 PM UTC
*** This bug has been marked as a duplicate of bug 238446 ***
Note You need to log in before you can comment on or make changes to this bug.