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'