Added support for ref-update events

Whenever a ref is updated via either a direct push to a branch or a
Gerrit change submission, Gerrit will now send a new "ref-updated"
event to the event stream.  This can be used by external agents for
things like automatic submodule ref updating, replication, build bot
hooks, etc.

Change-Id: Ice9d65db8fd662d53df53ff6b61d811815c9f2f6
This commit is contained in:
Jesse Greenwald
2010-10-06 19:46:25 -05:00
committed by Shawn O. Pearce
parent ec15511690
commit 6cc1190d8f
11 changed files with 192 additions and 2 deletions

View File

@@ -107,6 +107,19 @@ was added or last updated.
by:: Reviewer of the patch set in <<account,account attribute>>.
[[refupdate]]
refupdate
--------
Information about a ref that was updated.
oldRev:: The old value of the ref, prior to the update.
newRev:: The new value the ref was updated to.
project:: Project path in Gerrit
refName:: Ref name within project.
SEE ALSO
--------