Bug 133168

Summary: Add cherrypick_merge and revert methods to SCM
Product: WebKit Reporter: Matthew Hanson <matthew_hanson>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Enhancement CC: dpranke, glenn, ossy, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Add cherrypick_merge and revert_file to SCM and subclasses. ossy: review-

Matthew Hanson
Reported 2014-05-21 21:44:53 PDT
SCM is missing methods for cherrypicking a specific commit and reverting a single file. These methods should be added to the base class and implemented in the SVN and Git subclasses.
Attachments
Add cherrypick_merge and revert_file to SCM and subclasses. (4.17 KB, patch)
2014-05-21 22:13 PDT, Matthew Hanson
ossy: review-
Matthew Hanson
Comment 1 2014-05-21 22:13:27 PDT
Created attachment 231856 [details] Add cherrypick_merge and revert_file to SCM and subclasses.
Ryosuke Niwa
Comment 2 2014-05-21 22:21:16 PDT
Comment on attachment 231856 [details] Add cherrypick_merge and revert_file to SCM and subclasses. I'd prefer if all these changes to webkitpy were in the patch that adds some scripts to use it.
Ryosuke Niwa
Comment 3 2014-05-21 22:48:45 PDT
Comment on attachment 231856 [details] Add cherrypick_merge and revert_file to SCM and subclasses. rs=me.
Csaba Osztrogonác
Comment 4 2015-02-26 06:15:27 PST
Cherry pick is already added by http://trac.webkit.org/changeset/175606 ... but it isn't used at all. What is the goal with adding unused codes to git.py?
Csaba Osztrogonác
Comment 5 2015-02-26 06:15:50 PST
Comment on attachment 231856 [details] Add cherrypick_merge and revert_file to SCM and subclasses. r-, because they are unused functions.
Ryosuke Niwa
Comment 6 2015-02-26 09:40:02 PST
(In reply to comment #5) > Comment on attachment 231856 [details] > Add cherrypick_merge and revert_file to SCM and subclasses. > > r-, because they are unused functions. These are used by Apple internal tools.
Note You need to log in before you can comment on or make changes to this bug.