From b929a9a3c9bf314f68cbfe488eac5a50f10bcda5 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Mon, 14 May 2018 14:22:28 +0200 Subject: [PATCH] hooks: execute web-based hooks for SVN --- rhodecode/lib/hooks_utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/rhodecode/lib/hooks_utils.py b/rhodecode/lib/hooks_utils.py index 7b163ca1..68fa1aed 100644 --- 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)