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 @@ -72,7 +72,12 @@ ## ${_('Git repository')} ##%endif ${c.pull_request.org_ref_parts[0]}: ${c.pull_request.org_ref_parts[1]} - ${c.pull_request.org_repo.clone_url()} + + %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()} + %elif h.is_git(c.pull_request.org_repo): + | ${_('Pull changes')} + %endif