# HG changeset patch # User Marcin Kuzminski # Date 2018-11-12 10:25:28 # Node ID f7204ad7ff109605459b3bb68c53005317b2c8b0 # Parent d860684414fe251dbc58c3fe9d904ad86138a7d3 hooks: fixed SVN hook problem diff --git a/vcsserver/hooks.py b/vcsserver/hooks.py --- a/vcsserver/hooks.py +++ b/vcsserver/hooks.py @@ -654,6 +654,7 @@ def svn_pre_commit(repo_path, commit_dat if not extras: return 0 + extras['hook_type'] = 'pre_commit' extras['commit_ids'] = [] extras['txn_id'] = txn_id extras['new_refs'] = { @@ -682,6 +683,7 @@ def svn_post_commit(repo_path, commit_da if not extras: return 0 + extras['hook_type'] = 'post_commit' extras['commit_ids'] = [commit_id] extras['txn_id'] = txn_id extras['new_refs'] = {