Show More
@@ -314,12 +314,11 class PullrequestsController(BaseRepoCon | |||||
314 | org_ref = 'rev:merge:%s' % _form['merge_rev'] |
|
314 | org_ref = 'rev:merge:%s' % _form['merge_rev'] | |
315 | other_repo = _form['other_repo'] |
|
315 | other_repo = _form['other_repo'] | |
316 | other_ref = 'rev:ancestor:%s' % _form['ancestor_rev'] |
|
316 | other_ref = 'rev:ancestor:%s' % _form['ancestor_rev'] | |
317 | revisions = reversed(_form['revisions']) |
|
317 | revisions = [x for x in reversed(_form['revisions'])] | |
318 | reviewers = _form['review_members'] |
|
318 | reviewers = _form['review_members'] | |
319 |
|
319 | |||
320 | title = _form['pullrequest_title'] |
|
320 | title = _form['pullrequest_title'] | |
321 | description = _form['pullrequest_desc'] |
|
321 | description = _form['pullrequest_desc'] | |
322 |
|
||||
323 | try: |
|
322 | try: | |
324 | pull_request = PullRequestModel().create( |
|
323 | pull_request = PullRequestModel().create( | |
325 | self.rhodecode_user.user_id, org_repo, org_ref, other_repo, |
|
324 | self.rhodecode_user.user_id, org_repo, org_ref, other_repo, |
General Comments 0
You need to be logged in to leave comments.
Login now