WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
36570
resolve-ChangeLogs: fall back to git-merge-file if ChangeLog can't be merged
https://bugs.webkit.org/show_bug.cgi?id=36570
Summary
resolve-ChangeLogs: fall back to git-merge-file if ChangeLog can't be merged
David Kilzer (:ddkilzer)
Reported
2010-03-24 18:41:03 PDT
Created
attachment 51573
[details]
Patch Reviewed by Eric Seidel. 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 The fix is to use the --force switch with patch so that it will always attempt to apply the patch. (The change in mergeChangeLogs() for the previous commit also fixed this, but adding --force also prevents any potential user interaction that patch may want to display.) * Scripts/VCSUtils.pm: (mergeChangeLogs): Added --force switch to patch command. Also changed to use the exit status from the patch command to determine the return value for this method. * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl: Added test to cover this bug. git-svn-id:
http://svn.webkit.org/repository/webkit/trunk@56472
268f45cc-cd09-0410-ab3c-d52691b4dbfc --- 3 files changed, 99 insertions(+), 5 deletions(-)
Attachments
Patch
(5.14 KB, patch)
2010-03-24 18:41 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Formatted Diff
Diff
Patch v1
(1.16 KB, patch)
2010-03-24 18:42 PDT
,
David Kilzer (:ddkilzer)
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2010-03-24 18:41:36 PDT
Comment on
attachment 51573
[details]
Patch Wrong patch.
David Kilzer (:ddkilzer)
Comment 2
2010-03-24 18:42:11 PDT
Created
attachment 51574
[details]
Patch v1
David Kilzer (:ddkilzer)
Comment 3
2010-03-24 18:42:52 PDT
Please ignore the description in
Comment #0
.
Eric Seidel (no email)
Comment 4
2010-03-24 19:34:24 PDT
Comment on
attachment 51574
[details]
Patch v1 LGTM.
Eric Seidel (no email)
Comment 5
2010-03-24 19:42:31 PDT
Attachment 51574
[details]
was posted by a committer and has review+, assigning to David Kilzer for commit.
David Kilzer (:ddkilzer)
Comment 6
2010-03-24 21:16:45 PDT
Committed
r56483
: <
http://trac.webkit.org/changeset/56483
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug