https://bugs.webkit.org/attachment.cgi?id=35096&action=edit is an example. We need to chdir to the root of the repository before calling out to svn-create-patch. Either by passing a working directory to svn-create-patch, or doing a chdir to the root first, or whatever.
Created attachment 35168 [details] easy fix, will write test once bug 28436 lands
I want to use some of the testing infrastructure I added in bug 28436 when writing this test.
Committed r47598: <http://trac.webkit.org/changeset/47598>
This change was requested by Maciej after confusion: https://bugs.webkit.org/show_bug.cgi?id=27937#c5
After discussion via email, the consensus is that we should roll out this change. When we do so, we should add some unit tests to scm_unittest.py to document the intentionally different post-diff behavior between svn and git (which matches how their various diff commands operate).
I'm not a svn user. I'm not sure if this is still an issue.