# HG changeset patch # User RhodeCode Admin # Date 2024-05-23 11:36:58 # Node ID f4ffd2998295806253b29ba50acef8f27573f2af # Parent 9d0625b8f9a12916fce535186e018273fda37007 fix: svn, remove accidentally merged strict svn checks. diff --git a/vcsserver/hooks.py b/vcsserver/hooks.py --- a/vcsserver/hooks.py +++ b/vcsserver/hooks.py @@ -767,6 +767,8 @@ def svn_pre_commit(repo_path, commit_dat extras = _get_extras_from_txn_id(path, txn_id) if not extras: + #TODO: temporary fix until svn txn-id changes are merged + return 0 raise ValueError('Failed to extract context data called extras for hook execution') extras['hook_type'] = 'pre_commit' @@ -807,6 +809,8 @@ def svn_post_commit(repo_path, commit_da extras = _get_extras_from_commit_id(commit_id, path) if not extras: + #TODO: temporary fix until svn txn-id changes are merged + return 0 raise ValueError('Failed to extract context data called extras for hook execution') extras['hook_type'] = 'post_commit'