[Webkit-unassigned] [Bug 150650] New: svn-apply should handle unified diffs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 28 17:46:44 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=150650

            Bug ID: 150650
           Summary: svn-apply should handle unified diffs
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dburkart at apple.com
                CC: lforschler at apple.com

When trying to apply a unified-style diff with svn-apply, I get this mysterious error:

Parsed 0 diffs from patch file(s).
No diff found. at /path/to/svn-apply line 126.

I suspect that this might be failing due to a slightly different diff heading style than
what svn-apply expects. In particular, diff chunks generated by `diff -u` generate headings
which immediately start with:

---- a/b/c/d
++++ a/b/c/d

Instead of something like:

diff --git a/b/c/d
index 1234..56787 100644
---- a/b/c/d
++++ a/b/c/d

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151029/cb731045/attachment.html>


More information about the webkit-unassigned mailing list