diff --git a/rhodecode/templates/pullrequests/pullrequest_show.html b/rhodecode/templates/pullrequests/pullrequest_show.html
--- a/rhodecode/templates/pullrequests/pullrequest_show.html
+++ b/rhodecode/templates/pullrequests/pullrequest_show.html
@@ -71,7 +71,9 @@ ${self.repo_context_bar('showpullrequest
##%elif h.is_git(c.pull_request.org_repo):
##
##%endif
- ${c.pull_request.org_ref_parts[0]}: ${c.pull_request.org_ref_parts[1]}
+
+ ## branch link is only valid if it is a branch
+ ${c.pull_request.org_ref_parts[0]}: ${c.pull_request.org_ref_parts[1]}
%if h.is_hg(c.pull_request.org_repo):
| ${_('Pull changes')} hg pull -r ${h.short_id(c.cs_ranges[-1].raw_id)} ${c.pull_request.org_repo.clone_url()}