In addition to adding those new arguments I ran into a couple of hiccups:
1. I refactored the mahara-scripts repository so that the gerrit hook scripts are now in a subdirectory called "gerrit". I updated Gerrit's symlinks to point to the new location, but Gerrit still refused to actually call the new scripts until I restarted it.
Okay, got the scripts working again.
In addition to adding those new arguments I ran into a couple of hiccups:
1. I refactored the mahara-scripts repository so that the gerrit hook scripts are now in a subdirectory called "gerrit". I updated Gerrit's symlinks to point to the new location, but Gerrit still refused to actually call the new scripts until I restarted it.
2. The Gerrit 2.11 manual is missing one argument that gets passed to change-merged: "--newrev <new rev>". So I had to add that as well. I've filed a bug with Gerrit asking them to update their documentation: https:/ /code.google. com/p/gerrit/ issues/ detail? id=3374& thanks= 3374&ts= 1431921610
Marking this one "Finished" now. :)