Add refs/for/<branch>%submit to auto-merge during push

Teams that want to use Gerrit's submit strategies to handle contention
on busy branches can use %submit to create a change and have it
immediately submitted, if the caller has Submit permission on
refs/for/<ref>. If the merge fails the change stays open.

Change-Id: I98bcefb51ea5363b011e3e57f89f567b73e16103
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2013-04-04 16:06:39 +02:00
parent 561ef62a92
commit bfa06218e4
9 changed files with 653 additions and 162 deletions

View File

@@ -641,6 +641,10 @@ In order to submit, all labels (such as `Verified` and `Code-Review`,
above) must enable submit, and also must not block it. See above for
details on each label.
To link:user-upload.html#auto_merge[immediately submit a change on push]
the caller needs to have the Submit permission on `refs/for/<ref>`
(e.g. on `refs/for/refs/heads/master`).
[[category_view_drafts]]
View Drafts