bd77ad3609
Keep track of problems that occur during the various early validation phases of submitting a batch of changes. This replaces usage of CommitMergeStatus for some statuses (e.g. REVISION_GONE) that should really fail the batch before any merge attempt is made. It also avoids throwing IntegrationExceptions early, looping through the full list of changes to collect more errors. Currently the failFast() method throws ResourceConflictException, since that is the easiest way to expose the error message to users. In the future we will probably rearrange exception types a bit more. Change-Id: I4846043333eaedb06975825b8aa75b3bfc97e698 |
||
---|---|---|
.. | ||
src/test/java/com/google/gerrit/acceptance | ||
BUCK | ||
tests.defs |