# HG changeset patch # User Mads Kiilerich # Date 1362090106 -3600 # Node ID c4bb2b22110ed5f357063b19f53483d7b8367392 # Parent 4725d097c3c068eb429e8a8f927ccee673eb282f pullrequests: use stable revisions in compare urls instead of bookmark/branch/tag diff -r 4725d097c3c0 -r c4bb2b22110e rhodecode/templates/pullrequests/pullrequest.html --- 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){