diff --git a/progit/lib.py b/progit/lib.py index 467ba53..9159f9d 100644 --- a/progit/lib.py +++ b/progit/lib.py @@ -219,7 +219,8 @@ def new_issue(session, repo, title, content, user, ticketfolder): def new_pull_request( - session, repo, repo_from, title, user, stop_id, start_id=None): + session, repo, repo_from, branch, title, user, stop_id, + start_id=None): ''' Create a new pull request on the specified repo. ''' user_obj = get_user(session, user) @@ -231,6 +232,7 @@ def new_pull_request( request = model.PullRequest( project_id=repo.id, project_id_from=repo_from.id, + branch=branch, title=title, start_id=start_id, stop_id=stop_id,