diff 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
line wrap: on
line diff
--- a/rhodecode/templates/pullrequests/pullrequest.html	Tue Oct 02 23:24:41 2012 +0200
+++ b/rhodecode/templates/pullrequests/pullrequest.html	Wed Oct 03 18:41:57 2012 +0200
@@ -141,7 +141,7 @@
     	                 org_ref_type='org_ref_type', org_ref='org_ref',
                          other_ref_type='other_ref_type', other_ref='other_ref',
                          repo='other_repo',
-                         as_form=True)}";
+                         as_form=True, bundle=False)}";
 
       var select_refs = YUQ('#pull_request_form select.refs')
       var rev_data = {}; // gather the org/other ref and repo here