-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eagerepo: add pushrebase_one() function
Summary: This diff adds the pushrebase_one() function for pushrebasing one source commit to the destination commit. It basically does two things (thanks muirdm for the idea): 1. Generate a new manifest tree root id. 2. Generate a new commit. Currently, this function does not handle the following two cases, we extend the function later: 1. Does not support merge commits. 2. Need to update the time filed for the new commit raw text if eagerepo is not used for non-test cases. Reviewed By: muirdm Differential Revision: D64540085 fbshipit-source-id: 4db8c914897dcf7819143a20d2de1d2f2af73231
- Loading branch information
1 parent
f957495
commit 5fa11af
Showing
1 changed file
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters