Show More
@@ -767,6 +767,8 b' def svn_pre_commit(repo_path, commit_dat' | |||
|
767 | 767 | extras = _get_extras_from_txn_id(path, txn_id) |
|
768 | 768 | |
|
769 | 769 | if not extras: |
|
770 | #TODO: temporary fix until svn txn-id changes are merged | |
|
771 | return 0 | |
|
770 | 772 | raise ValueError('Failed to extract context data called extras for hook execution') |
|
771 | 773 | |
|
772 | 774 | extras['hook_type'] = 'pre_commit' |
@@ -807,6 +809,8 b' def svn_post_commit(repo_path, commit_da' | |||
|
807 | 809 | extras = _get_extras_from_commit_id(commit_id, path) |
|
808 | 810 | |
|
809 | 811 | if not extras: |
|
812 | #TODO: temporary fix until svn txn-id changes are merged | |
|
813 | return 0 | |
|
810 | 814 | raise ValueError('Failed to extract context data called extras for hook execution') |
|
811 | 815 | |
|
812 | 816 | extras['hook_type'] = 'post_commit' |
General Comments 0
You need to be logged in to leave comments.
Login now