Bug 13349

Summary: svn-create-patch should support -c NNNNN argument to pull a patch from svn
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ahmad.saleem792, darin
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
WIP v1 none

Description David Kilzer (:ddkilzer) 2007-04-13 19:46:05 PDT
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).
Comment 1 David Kilzer (:ddkilzer) 2007-04-15 16:58:15 PDT
Created attachment 14045 [details]
WIP v1

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.
Comment 2 David Kilzer (:ddkilzer) 2007-04-15 16:59:48 PDT
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!

Comment 3 David Kilzer (:ddkilzer) 2007-04-15 17:09:40 PDT
(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
> addressed.

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!

Comment 4 David Kilzer (:ddkilzer) 2007-04-19 19:43:20 PDT
Nits on WIP v1 patch:

1. Broke added files in working copy.
2. "-rNNNNN" without a space doesn't work.

Comment 5 David Kilzer (:ddkilzer) 2009-05-24 07:01:35 PDT
*** Bug 15041 has been marked as a duplicate of this bug. ***
Comment 6 Ahmad Saleem 2024-02-04 16:07:21 PST
GitHub is now defect - SVN is gone.

Do we need this?
Comment 7 Darin Adler 2024-02-05 07:16:56 PST
I think we don’t and can close this.
Comment 8 Ahmad Saleem 2024-02-05 07:17:49 PST
Thanks Darin. Marked as 'RESOLVED WONTFIX'.