Mercurial > kallithea
diff rhodecode/controllers/pullrequests.py @ 3978:4f31439c90d3
pull requests: use org_ref with correct symbolic name instead of fake one
So far this is only cosmetic, but it might make a difference for further
processing of a PR.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 12 Jun 2013 01:36:35 +0200 |
parents | 5293d4bbb1ea |
children | 73ef2a5d3042 |
line wrap: on
line diff
--- a/rhodecode/controllers/pullrequests.py Wed Jun 12 09:34:28 2013 +0200 +++ b/rhodecode/controllers/pullrequests.py Wed Jun 12 01:36:35 2013 +0200 @@ -326,9 +326,9 @@ return redirect(url('pullrequest_home', repo_name=repo_name)) org_repo = _form['org_repo'] - org_ref = 'rev:merge:%s' % _form['merge_rev'] + org_ref = _form['org_ref'] # will end with merge_rev but have symbolic name other_repo = _form['other_repo'] - other_ref = 'rev:ancestor:%s' % _form['ancestor_rev'] + other_ref = 'rev:ancestor:%s' % _form['ancestor_rev'] # could be calculated from other_ref ... revisions = [x for x in reversed(_form['revisions'])] reviewers = _form['review_members']