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