Show More
@@ -623,7 +623,7 b' def git_post_receive(unused_repo_path, r' | |||
|
623 | 623 | def _get_extras_from_txn_id(path, txn_id): |
|
624 | 624 | extras = {} |
|
625 | 625 | try: |
|
626 |
cmd = [ |
|
|
626 | cmd = [settings.SVNLOOK_EXECUTABLE, 'pget', | |
|
627 | 627 | '-t', txn_id, |
|
628 | 628 | '--revprop', path, 'rc-scm-extras'] |
|
629 | 629 | stdout, stderr = subprocessio.run_command( |
@@ -638,7 +638,7 b' def _get_extras_from_txn_id(path, txn_id' | |||
|
638 | 638 | def _get_extras_from_commit_id(commit_id, path): |
|
639 | 639 | extras = {} |
|
640 | 640 | try: |
|
641 |
cmd = [ |
|
|
641 | cmd = [settings.SVNLOOK_EXECUTABLE, 'pget', | |
|
642 | 642 | '-r', commit_id, |
|
643 | 643 | '--revprop', path, 'rc-scm-extras'] |
|
644 | 644 | stdout, stderr = subprocessio.run_command( |
@@ -664,7 +664,7 b' def svn_pre_commit(repo_path, commit_dat' | |||
|
664 | 664 | return 0 |
|
665 | 665 | |
|
666 | 666 | extras['hook_type'] = 'pre_commit' |
|
667 | extras['commit_ids'] = [] | |
|
667 | extras['commit_ids'] = [txn_id] | |
|
668 | 668 | extras['txn_id'] = txn_id |
|
669 | 669 | extras['new_refs'] = { |
|
670 | 670 | 'total_commits': 1, |
General Comments 0
You need to be logged in to leave comments.
Login now