WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
174834
svn-apply should be able to apply patches in reverse
https://bugs.webkit.org/show_bug.cgi?id=174834
Summary
svn-apply should be able to apply patches in reverse
Matthew Hanson
Reported
2017-07-25 14:13:41 PDT
I would like to take advantage of svn-apply when rolling out changes. I propose adding a -R|--reverse option (API borrowed from the patch utility and git-apply) to the svn-apply script. The work here is minimal, since the underlying call to VCSUtils::generatePatchCommand already understands how to reverse patches.
Attachments
Patch v1
(3.01 KB, patch)
2017-07-25 14:19 PDT
,
Matthew Hanson
dbates
: review-
dbates
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-07-25 14:14:22 PDT
<
rdar://problem/33521443
>
Matthew Hanson
Comment 2
2017-07-25 14:19:48 PDT
Created
attachment 316393
[details]
Patch v1 Endow svn-apply with the ability to reverse apply patches.
Sam Weinig
Comment 3
2017-07-25 17:03:43 PDT
Will this be different that the already existing svn-unapply?
Daniel Bates
Comment 4
2017-07-25 17:20:33 PDT
Comment on
attachment 316393
[details]
Patch v1 R- as svn-unapply does this.
Matthew Hanson
Comment 5
2017-07-25 17:29:05 PDT
I was unaware that svn-unapply existed; after taking a look I think it will serve my needs just fine.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug