##// END OF EJS Templates
api: comment_pull_request, added commit_id parameter to validate status changed on particular commit....
api: comment_pull_request, added commit_id parameter to validate status changed on particular commit. - when using the API and creating a comment with status change it's now possible to pass in commit_id, this will allow validation if status change of pull_request is allowed based on the given commit_id. This solves the case when long running test sends approval of pull request which was already updated several times. The commit_id will now validate for which state the approval was made, and prevent accidental aproval of outdated pull requests.

File last commit:

r1:854a839a default
r1269:26e59d48 default
Show More
svn_post_commit_hook.py.tmpl
14 lines | 115 B | application/x-cheetah | CheetahLexer
/ rhodecode / config / hook_templates / svn_post_commit_hook.py.tmpl
project: added all source files and assets
r1 #!_ENV_
import sys
RC_HOOK_VER = '_TMPL_'
def main():
sys.exit(0)
if __name__ == '__main__':
main()