Prevents merge of non mergeable crossrepos when processing RefUpdatedEvent

This was introduced by
  2425dfcfb Expand AutomaticSubmit to whole branch/project.
which allowed to submit changes that become "submittable" after a merge.

This fix applies the same policy to define "submittable" as for the
other commits.

Change-Id: I317c33ced201fe3359c1ebf69cd0233c1b567ef8
2 files changed
tree: 8fe2ad0e5bf09c3af26701e934c992840be2ced9
  1. src/
  2. .gitignore
  3. BUILD
  6. test.rb
  7. tests.txt


Build Status

A gerrit plugin that takes care of automatically merging reviews when all approvals are present.

Also, it introduces the concept of cross-repository reviews. Cross repository reviews are reviews that share a common topic, and are all in different gerrit repositories. They will be merged at the same time, when all approvals for all reviews are present, and all reviews are mergeable.

Requires Gerrit 2.14 or later.