Show More
@@ -654,6 +654,7 b' def svn_pre_commit(repo_path, commit_dat' | |||||
654 | if not extras: |
|
654 | if not extras: | |
655 | return 0 |
|
655 | return 0 | |
656 |
|
656 | |||
|
657 | extras['hook_type'] = 'pre_commit' | |||
657 | extras['commit_ids'] = [] |
|
658 | extras['commit_ids'] = [] | |
658 | extras['txn_id'] = txn_id |
|
659 | extras['txn_id'] = txn_id | |
659 | extras['new_refs'] = { |
|
660 | extras['new_refs'] = { | |
@@ -682,6 +683,7 b' def svn_post_commit(repo_path, commit_da' | |||||
682 | if not extras: |
|
683 | if not extras: | |
683 | return 0 |
|
684 | return 0 | |
684 |
|
685 | |||
|
686 | extras['hook_type'] = 'post_commit' | |||
685 | extras['commit_ids'] = [commit_id] |
|
687 | extras['commit_ids'] = [commit_id] | |
686 | extras['txn_id'] = txn_id |
|
688 | extras['txn_id'] = txn_id | |
687 | extras['new_refs'] = { |
|
689 | extras['new_refs'] = { |
General Comments 0
You need to be logged in to leave comments.
Login now