# HG changeset patch # User Marcin Kuzminski # Date 2018-05-14 12:22:28 # Node ID acaeefa5ffad8a313b6299ca5b5175f922ce92c8 # Parent 0de1a44a32a46ca3aa1129b403b6ac6e71c649fe hooks: execute web-based hooks for SVN diff --git a/rhodecode/lib/hooks_utils.py b/rhodecode/lib/hooks_utils.py --- a/rhodecode/lib/hooks_utils.py +++ b/rhodecode/lib/hooks_utils.py @@ -57,9 +57,6 @@ def trigger_post_push_hook( :param repo_alias: the type of SCM repo :param commit_ids: list of commit ids that we pushed """ - if repo_alias not in ('hg', 'git'): - return - extras = _get_rc_scm_extras(username, repo_name, repo_alias, action) extras.commit_ids = commit_ids hooks_base.post_push(extras)