The svn-create-patch script should support a -rMMMMM:NNNNN argument to pull patches from svn with all the benefits of svn-create-patch run on a locally modified working copy (such as binary diffs and svn cp revision hints).
Created attachment 14045 [details]
WIP. I don't want to lose these changes! They need some more time to bake, and there are a few edge cases (like added binary files) that need to be addressed.
Note that this fix will also support a simple "-r NNNNN" argument that "knows" you want to generate a diff for revision "NNNNN" and will subtract one from that revision to create a range. Brilliant!
(In reply to comment #1)
> WIP. I don't want to lose these changes! They need some more time to bake,
> and there are a few edge cases (like added binary files) that need to be
I may also move the "isBinary" check from the generateFileList*() subroutines to inside generateDiff() since it will be obvious when a file is a binary file (from the previous diff output), and it will save some time running more svn commands for each file!
Nits on WIP v1 patch:
1. Broke added files in working copy.
2. "-rNNNNN" without a space doesn't work.
*** Bug 15041 has been marked as a duplicate of this bug. ***