Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #6850: Add the ability to branch on a PR instead of a release branch #64

Conversation

peckpeck
Copy link
Member

@peckpeck peckpeck commented Jul 2, 2015

@peckpeck
Copy link
Member Author

ping @VinceMacBuche

@@ -839,15 +868,26 @@ def amend(comment=None):


# rebase, push -f, comment PR
def rebase(comment=None):
def rebase(comment=None, base=None):
info = ticket_from_branch(current_branch)
master_branch = branch_from_version(info['version'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you rename master_branch into "rebase_branch" (or another) ? just to be sure that the branch is not the master branch but the branch the rebase should be made on

@peckpeck
Copy link
Member Author

PR updated

@peckpeck peckpeck force-pushed the ust_6850/add_the_ability_to_branch_on_a_pr_instead_of_a_release_branch branch from cf20be6 to d43232c Compare July 27, 2015 13:49
VinceMacBuche added a commit that referenced this pull request Jul 27, 2015
…ch_on_a_pr_instead_of_a_release_branch

Fixes #6850: Add the ability to branch on a PR instead of a release branch
@VinceMacBuche VinceMacBuche merged commit 1ff5631 into Normation:master Jul 27, 2015
@peckpeck peckpeck deleted the ust_6850/add_the_ability_to_branch_on_a_pr_instead_of_a_release_branch branch May 31, 2016 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants