Let webkit-patch work with options in $EDITOR
Created attachment 46188 [details] Patch
Attachment 46188 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebKitTools/ChangeLog:8: Line contains tab character. [whitespace/tab] [5] WebKitTools/ChangeLog:9: Line contains tab character. [whitespace/tab] [5] Total errors found: 2
Created attachment 46189 [details] Patch
Interesting failure mode. We're checking style before editing the changelog. :)
This naive approach will do the wrong thing if the path to your editor’s binary happens to contain a space. <http://subversion.tigris.org/faq.html#svn-editor> talks about how SVN handles this. Python’s shlex module may be useful to address this.
Comment on attachment 46189 [details] Patch Good point. I looked around for a python module to help, but I couldn't find one. shlex looks perfect.
Created attachment 46211 [details] Patch
Comment on attachment 46211 [details] Patch Sweet! Seems we need a test case though. One should be very easy to write, no?
It's hard to write a test case because this code is calling system APIs directly. We could introduce another abstraction layer, but the point of this code is to be the abstraction layer around these APIs...
Comment on attachment 46211 [details] Patch rs=me
Comment on attachment 46211 [details] Patch Clearing flags on attachment: 46211 Committed r53063: <http://trac.webkit.org/changeset/53063>
All reviewed patches have been landed. Closing bug.