Add wait_for_commit to /review
Setting wait_for_commit to true permits callers to wait for the index commit to finish before returning to the client, allowing the client to immediately run a search and see the modifications match. Change-Id: I8db6574a340eb76e388c5bb7adc902d81ccb96be
This commit is contained in:
@@ -229,6 +229,7 @@ public class ReviewCommand extends SshCommand {
|
||||
review.labels = Maps.newTreeMap();
|
||||
review.drafts = PostReview.DraftHandling.PUBLISH;
|
||||
review.strictLabels = false;
|
||||
review.waitForCommit = true;
|
||||
for (ApproveOption ao : optionList) {
|
||||
Short v = ao.value();
|
||||
if (v != null) {
|
||||
|
||||
Reference in New Issue
Block a user