Labels: Type-Defect Priority-Medium
New issue 3824 by kevin.be...@gmail.com: Git hooks not working
When using the git hooks provided in RBTools/contrib/tools, I've got a
This bug affect RBTools v0.7.2
The version 0.6 works fine.
Example of a "git push" with the two server-side hooks:
$> git push
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 572 bytes | 0 bytes/s, done.
Total 6 (delta 3), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote: File "hooks/pre-receive", line 80, in <module>
remote: File "hooks/pre-receive", line 49, in main
remote: review_id_to_commits = get_review_id_to_commits_map(lines,
line 78, in get_review_id_to_commits_map
remote: commit_hashes = get_commit_hashes(old_rev, new_rev)
line 20, in get_commit_hashes
remote: return execute(git_command, split_lines=True)
remote: TypeError: execute() got an unexpected keyword
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://email@example.com/my_repo'
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.