Bug 67821

Summary: webkit-patch apply-from-bug does not work from any directory
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: abarth, dbates, mjs
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Eric Seidel (no email) 2011-09-08 17:32:58 PDT
eseidel [60696:DumpRenderTree]% webkit-patch apply-from-bug 50913                                                                                                                                                                                                                          [/Projects/WebKit/Tools/DumpRenderTree]
Updating working directory
Updating OpenSource
Current branch bidi_isolate_rebase is up to date.
Fetching: https://bugs.webkit.org/show_bug.cgi?id=50913&ctype=xml
1 reviewed patch found on bug 50913.
Processing 1 patch from 1 bug.
Processing patch 106782 from bug 50913.
Reading Keychain for bugs.webkit.org account and password.  Click "Allow" to continue...
Logging in as eric@webkit.org...
Failed to run "[u'/Projects/WebKit/Tools/Scripts/svn-apply', u'--reviewer', u'Ryosuke Niwa']" exit_code: 2

Parsed 6 diffs from patch file(s).
patching file LayoutTests/ChangeLog
Hunk #1 succeeded at 1 with fuzz 3.
patching file LayoutTests/css3/bdi-element.html
fatal: pathspec 'Tools/DumpRenderTree/LayoutTests/css3/bdi-element.html' did not match any files
Failed to git add LayoutTests/css3/bdi-element.html. at /Projects/WebKit/Tools/Scripts/svn-apply line 439.

Failed to run "[u'/Projects/WebKit/Tools/Scripts/svn-apply', u'--reviewer', u'Ryosuke Niwa']" exit_code: 2

It should work from any directory, at least on git.

I suspect this is fallout from Maciej's change to support per-directory svn diffs.