<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - svn-apply should handle unified diffs"
href="https://bugs.webkit.org/show_bug.cgi?id=150650">150650</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>svn-apply should handle unified diffs
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Tools / Tests
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dburkart@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>lforschler@apple.com
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>