Monorail Project: gerrit Issues People Development process History Sign in
New issue
Advanced search Search tips
Starred by 2 users
Status: Released
Owner: ----
Closed: Apr 2015



Sign in to add a comment
change-merged hook arguments contains undocumented option --newrev
Reported by jla...@gmail.com, Apr 21 2015 Back to list
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version: 2.11 (works fine on previous versions)

Here is the command line for change-merged hook:
[2015-04-21 13:44:50,871] INFO  com.google.gerrit.common.ChangeHookRunner : hook[change-merged] output: ['hooks/change-merged', '--change', 'Ic81045a965d1d9eec7e5a7a58b5daa2e44fd02d0', '--change-url', 'http://xyz.com:8080/12', '--change-owner', 'Jitendra Lanka (jlanka@xyz.com)', '--project', 'playground', '--branch', 'master', '--submitter', 'Jitendra Lanka (jlanka@xyz.com)', '--commit', '5aa1193ba632d678d705d62d04fd5fe140b07f1b', '--newrev', '5aa1193ba632d678d705d62d04fd5fe140b07f1b']

The change-merged hook documentation for 2.11: https://gerrit-documentation.storage.googleapis.com/Documentation/2.11/config-hooks.html#_change_merged
Doesn't say anything about this.

 
Status: ChangeUnderReview
https://gerrit-review.googlesource.com/67471
Project Member Comment 2 by edwin.ke...@gmail.com, Apr 27 2015
Labels: FixedIn-2.11.1
Status: Submitted
Status: Released
Sign in to add a comment