Bug 23304 - Update svn-apply to 'svn add' new files from git-produced patches.
Summary: Update svn-apply to 'svn add' new files from git-produced patches.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-13 15:06 PST by Dmitry Titov
Modified: 2009-01-14 13:48 PST (History)
0 users

See Also:


Attachments
Proposed patch (1.00 KB, patch)
2009-01-13 15:17 PST, Dmitry Titov
no flags Details | Formatted Diff | Diff
Updated patch (1.34 KB, patch)
2009-01-14 13:28 PST, Dmitry Titov
ddkilzer: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Titov 2009-01-13 15:06:41 PST
Updated the filter that makes output of 'git diff' in case of an added file to mimic svn so the rest of the logic recognizes new files and does 'svn add' on them.

Deleted files are already processed correctly.
Comment 1 Dmitry Titov 2009-01-13 15:17:06 PST
Created attachment 26685 [details]
Proposed patch
Comment 2 Dmitry Titov 2009-01-14 13:28:42 PST
Created attachment 26728 [details]
Updated patch

Actually, looking at svn-unapply I've realized the fix should be different (and it also matches svn-unapply now).
Comment 3 David Kilzer (:ddkilzer) 2009-01-14 13:44:46 PST
Comment on attachment 26728 [details]
Updated patch

r=me

Thanks!
Comment 4 David Kilzer (:ddkilzer) 2009-01-14 13:48:43 PST
$ git svn dcommit
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebKitTools/ChangeLog
	M	WebKitTools/Scripts/svn-apply
Committed r39907

http://trac.webkit.org/changeset/39907