Mercurial > kallithea
changeset 3441:c4bb2b22110e beta
pullrequests: use stable revisions in compare urls instead of bookmark/branch/tag
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 28 Feb 2013 23:21:46 +0100 |
parents | 4725d097c3c0 |
children | b3680a200f75 |
files | rhodecode/templates/pullrequests/pullrequest.html |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/pullrequests/pullrequest.html Sun Mar 03 23:20:58 2013 +0100 +++ b/rhodecode/templates/pullrequests/pullrequest.html Thu Feb 28 23:21:46 2013 +0100 @@ -146,12 +146,12 @@ var select_refs = YUQ('#pull_request_form select.refs') var rev_data = { - 'org_repo': org_repo, - 'org_ref': org_ref[1], - 'org_ref_type': org_ref[0], - 'other_repo': other_repo, - 'other_ref': other_ref[1], - 'other_ref_type': other_ref[0], + 'org_repo': org_repo, + 'org_ref': org_ref[2], + 'org_ref_type': 'rev', + 'other_repo': other_repo, + 'other_ref': other_ref[2], + 'other_ref_type': 'rev', }; // gather the org/other ref and repo here for (k in rev_data){