Attempt to rebase
This commit is contained in:
parent
b6a5963a3e
commit
70ad496b06
|
@ -110,6 +110,14 @@ def git_integration(func):
|
|||
tree,
|
||||
parents)
|
||||
|
||||
basket = repo.branches.get(branch_name)
|
||||
cherry = repo.lookup_branch('refs/heads/master').target
|
||||
base = repo.merge_base(cherry, basket.target)
|
||||
base_tree = cherry.parents[0].tree
|
||||
|
||||
index = repo.merge_trees(base_tree, basket, cherry)
|
||||
tree_id = index.write_tree(repo)
|
||||
repo.create_commit(basket.name, author, committer, 'bof', tree_id, [basket.target])
|
||||
|
||||
return inner
|
||||
|
||||
|
|
Loading…
Reference in New Issue