Mercurial > kallithea
comparison rhodecode/templates/pullrequests/pullrequest.html @ 2892:5fba3778431c beta
#590 Add GET flag that controls the way the diff are generated, for pull requests we want to use non-bundle based diffs,
That are far better for doing code reviews. The /compare url still uses bundle compare for full comparision including the incoming changesets.
- Fixed tests
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 03 Oct 2012 18:41:57 +0200 |
parents | b54d1024d9ea |
children | 0b86972de820 |
comparison
equal
deleted
inserted
replaced
2891:9812e617c564 | 2892:5fba3778431c |
---|---|
139 var url = "${h.url('compare_url', | 139 var url = "${h.url('compare_url', |
140 repo_name='org_repo', | 140 repo_name='org_repo', |
141 org_ref_type='org_ref_type', org_ref='org_ref', | 141 org_ref_type='org_ref_type', org_ref='org_ref', |
142 other_ref_type='other_ref_type', other_ref='other_ref', | 142 other_ref_type='other_ref_type', other_ref='other_ref', |
143 repo='other_repo', | 143 repo='other_repo', |
144 as_form=True)}"; | 144 as_form=True, bundle=False)}"; |
145 | 145 |
146 var select_refs = YUQ('#pull_request_form select.refs') | 146 var select_refs = YUQ('#pull_request_form select.refs') |
147 var rev_data = {}; // gather the org/other ref and repo here | 147 var rev_data = {}; // gather the org/other ref and repo here |
148 for(var i=0;i<select_refs.length;i++){ | 148 for(var i=0;i<select_refs.length;i++){ |
149 var select_ref = select_refs[i]; | 149 var select_ref = select_refs[i]; |