WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
112732
svn-apply has trouble applying a patch that adds a Windows newline to EOF
https://bugs.webkit.org/show_bug.cgi?id=112732
Summary
svn-apply has trouble applying a patch that adds a Windows newline to EOF
Daniel Bates
Reported
2013-03-19 12:18:28 PDT
When using svn-apply to applying
attachment 193158
[details]
(
bug 112306
) on my Mac with an SVN checkout at
r145854
, svn-apply failed with the following output: dbates:WebKit dbates$ Tools/Scripts/svn-apply /Users/dbates/Desktop/bug-112306-20130314112306.patch.txt Parsed 20 diffs from patch file(s). patching file LayoutTests/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file LayoutTests/editing/inserting/insert-text-into-empty-frameset-crash.html patching file LayoutTests/editing/style/apply-style-crash.html patching file LayoutTests/fast/block/float/float-originating-line-deleted-crash.html Hunk #2 FAILED at 11. 1 out of 2 hunks FAILED -- saving rejects to file LayoutTests/fast/block/float/float-originating-line-deleted-crash.html.rej Calling "patch -p0" for file "LayoutTests/fast/block/float/float-originating-line-deleted-crash.html" returned status 1. Pass --force to ignore patch failures.
Attachments
Patch and unit tests
(11.12 KB, patch)
2013-03-19 12:20 PDT
,
Daniel Bates
eric
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2013-03-19 12:20:58 PDT
Created
attachment 193896
[details]
Patch and unit tests
James Robinson
Comment 2
2013-03-19 12:24:21 PDT
Thanks for the patch! Unfortunately I don't know enough about perl or patch to be able to review this.
WebKit Review Bot
Comment 3
2013-03-19 12:24:51 PDT
Attachment 193896
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/Scripts/VCSUtils.pm', u'Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl']" exit_code: 1 Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:181: Line contains tab character. [whitespace/tab] [5] Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:182: Line contains tab character. [whitespace/tab] [5] Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:197: Line contains tab character. [whitespace/tab] [5] Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:198: Line contains tab character. [whitespace/tab] [5] Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:221: Line contains tab character. [whitespace/tab] [5] Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:222: Line contains tab character. [whitespace/tab] [5] Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:232: Line contains tab character. [whitespace/tab] [5] Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:233: Line contains tab character. [whitespace/tab] [5] Total errors found: 8 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Daniel Bates
Comment 4
2013-03-19 12:27:35 PDT
(In reply to
comment #3
)
>
Attachment 193896
[details]
did not pass style-queue: > > Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/Scripts/VCSUtils.pm', u'Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl']" exit_code: 1 > Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:181: Line contains tab character. [whitespace/tab] [5] > [...] > Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:233: Line contains tab character. [whitespace/tab] [5] > Total errors found: 8 in 3 files > > > If any of these errors are false positives, please file a bug against check-webkit-style.
These tabs are intentional as the unit tests contain diff snippets that are representative of actual diffs.
Eric Seidel (no email)
Comment 5
2013-03-19 13:02:27 PDT
Comment on
attachment 193896
[details]
Patch and unit tests Seems reasonable. Darin Adler is probably your best reviewer here.
Daniel Bates
Comment 6
2013-03-19 13:26:27 PDT
CC'ing Darin Adler so that he can see this patch go by per Eric Seidel's remark in
comment 5
.
Daniel Bates
Comment 7
2013-03-19 13:29:49 PDT
Committed
r146249
: <
http://trac.webkit.org/changeset/146249
>
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