-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/gopherbot: revise autosubmit behavior for stacks
When checking whether to autosubmit a change in a stack, ignore whether the revision of merged/abandoned parents are current (base revision == current revision). There are multiple reasons a merged parent may not be current (the most obvious being that the parent change was submitted, which increases the revision number, but the child was not rebased onto the new revision), but as long as the change is still considered 'submittable' by gerrit (i.e. there are no merge conflicts) this should not materially affect our decision of whether or not to submit the change (and matches what most users will do when manually submitting a stack). For golang/go#48021. Change-Id: Iceff8a88ac3638671f36175d802254788d2470fd Reviewed-on: https://go-review.googlesource.com/c/build/+/406237 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
- Loading branch information
1 parent
92f7ca4
commit 96df98a
Showing
2 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters