diff --git a/progit/lib.py b/progit/lib.py index bb9537e..3ae599e 100644 --- a/progit/lib.py +++ b/progit/lib.py @@ -497,6 +497,8 @@ def new_pull_request(session, repo_from, branch_from, ) request = model.PullRequest( + id=get_next_id(session, repo_to.id), + uid=uuid.uuid4().hex, project_id=repo_to.id, project_id_from=repo_from.id, branch=branch_to,