diff --git a/rhodecode/templates/shortlog/shortlog_data.html b/rhodecode/templates/shortlog/shortlog_data.html --- a/rhodecode/templates/shortlog/shortlog_data.html +++ b/rhodecode/templates/shortlog/shortlog_data.html @@ -78,6 +78,11 @@
- ${c.rhodecode_repo.alias} push ${c.clone_repo_url} +%if h.is_git(c.rhodecode_repo): + git remote add origin ${c.clone_repo_url} + git push -u origin master +%else: + hg push ${c.clone_repo_url} +%endif%endif