Bug 36560

Summary: resolve-ChangeLogs: git-rebase fails when resolve-ChangeLogs can't merge
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cjerdonek, eric, vestbo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch 1/2
eric: review+
Patch 1/2 (webkit-patch FAIL)
none
Patch 1/2 (webkit-patch FAIL AGAIN)
none
Patch 1/2 (USER FAIL)
none
Patch 2/2 eric: review+

David Kilzer (:ddkilzer)
Reported 2010-03-24 14:57:30 PDT
Created attachment 51549 [details] Patch 1/2 When resolve-ChangeLogs fails to merge a patch while running as a git merge driver, it deletes the original file, which causes an internal failure and stops git mid-merge: fatal: Failed to execute internal merge
Attachments
Patch 1/2 (15.02 KB, patch)
2010-03-24 14:57 PDT, David Kilzer (:ddkilzer)
eric: review+
Patch 1/2 (webkit-patch FAIL) (15.02 KB, patch)
2010-03-24 14:59 PDT, David Kilzer (:ddkilzer)
no flags
Patch 1/2 (webkit-patch FAIL AGAIN) (15.02 KB, patch)
2010-03-24 15:06 PDT, David Kilzer (:ddkilzer)
no flags
Patch 1/2 (USER FAIL) (15.02 KB, patch)
2010-03-24 15:08 PDT, David Kilzer (:ddkilzer)
no flags
Patch 2/2 (5.09 KB, patch)
2010-03-24 15:09 PDT, David Kilzer (:ddkilzer)
eric: review+
David Kilzer (:ddkilzer)
Comment 1 2010-03-24 14:59:32 PDT
Created attachment 51552 [details] Patch 1/2 (webkit-patch FAIL)
David Kilzer (:ddkilzer)
Comment 2 2010-03-24 15:05:46 PDT
Comment on attachment 51552 [details] Patch 1/2 (webkit-patch FAIL) This is a dupe of Attachment #51549 [details].
David Kilzer (:ddkilzer)
Comment 3 2010-03-24 15:06:23 PDT
Created attachment 51555 [details] Patch 1/2 (webkit-patch FAIL AGAIN)
David Kilzer (:ddkilzer)
Comment 4 2010-03-24 15:07:11 PDT
Comment on attachment 51555 [details] Patch 1/2 (webkit-patch FAIL AGAIN) Another duplicate of Attachment #51549 [details].
David Kilzer (:ddkilzer)
Comment 5 2010-03-24 15:08:00 PDT
Created attachment 51556 [details] Patch 1/2 (USER FAIL)
David Kilzer (:ddkilzer)
Comment 6 2010-03-24 15:09:51 PDT
Created attachment 51557 [details] Patch 2/2
Eric Seidel (no email)
Comment 7 2010-03-24 15:11:45 PDT
Holy pile of unit-tests, Batman.
Eric Seidel (no email)
Comment 8 2010-03-24 15:13:33 PDT
Comment on attachment 51557 [details] Patch 2/2 I am a perl weenie. But it looks sane. If you need someone who actually speaks perl to review, you should feel encouraged to request additional review. Patch 1 of 2 might be beyond my perl comfort zone, but I'll stare a bit.
David Kilzer (:ddkilzer)
Comment 9 2010-03-24 15:18:31 PDT
(In reply to comment #8) > Patch 1 of 2 might be beyond my perl comfort zone, but I'll stare a bit. Thanks, Eric! Patch 1/2 is mostly code movement and new unit test code (with a couple minor tweaks to the moved code).
Eric Seidel (no email)
Comment 10 2010-03-24 15:27:54 PDT
Comment on attachment 51549 [details] Patch 1/2 This is more of a rubber-stamp than a review. But it does look sane to me. Thanks!
David Kilzer (:ddkilzer)
Comment 11 2010-03-24 16:51:40 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebKitTools/ChangeLog M WebKitTools/Scripts/VCSUtils.pm M WebKitTools/Scripts/resolve-ChangeLogs A WebKitTools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl Committed r56471 M WebKitTools/ChangeLog M WebKitTools/Scripts/VCSUtils.pm M WebKitTools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl Committed r56472 <http://trac.webkit.org/changeset/56471> <http://trac.webkit.org/changeset/56472>
Eric Seidel (no email)
Comment 12 2010-03-24 16:56:10 PDT
We really need to invent a fancy git version of webkit-patch land for you. :)
David Kilzer (:ddkilzer)
Comment 13 2010-03-24 20:50:03 PDT
(In reply to comment #12) > We really need to invent a fancy git version of webkit-patch land for you. :) I can try to work on it when I have time. Thanks.
Note You need to log in before you can comment on or make changes to this bug.