diff --git a/rhodecode/controllers/compare.py b/rhodecode/controllers/compare.py --- a/rhodecode/controllers/compare.py +++ b/rhodecode/controllers/compare.py @@ -137,7 +137,9 @@ class CompareController(BaseRepoControll return render('compare/compare_cs.html') c.org_ref = org_ref[1] + c.org_ref_type = org_ref[0] c.other_ref = other_ref[1] + c.other_ref_type = other_ref[0] if ancestor and c.org_repo != c.other_repo: # case we want a simple diff without incoming changesets, diff --git a/rhodecode/controllers/pullrequests.py b/rhodecode/controllers/pullrequests.py --- a/rhodecode/controllers/pullrequests.py +++ b/rhodecode/controllers/pullrequests.py @@ -283,7 +283,9 @@ class PullrequestsController(BaseRepoCon c.as_form = request.GET.get('as_form', False) c.org_ref = org_ref[1] + c.org_ref_type = org_ref[0] c.other_ref = other_ref[1] + c.other_ref_type = other_ref[0] diff_limit = self.cut_off_limit if not fulldiff else None diff --git a/rhodecode/templates/changeset/diff_block.html b/rhodecode/templates/changeset/diff_block.html --- a/rhodecode/templates/changeset/diff_block.html +++ b/rhodecode/templates/changeset/diff_block.html @@ -48,7 +48,9 @@